How to Set Up Your Cloudflare API Token
  1. How to Set Up Your Cloudflare API Token
    1. đź“‹ Required Permissions
    2. 🚀 Step-by-Step Setup
      1. 1. Access Token Management
      2. 2. Create New Token
      3. 3. Select Template
      4. 4. Add Additional Permissions
      5. 5. Generate and Save

How to Set Up Your Cloudflare API Token

This guide will walk you through the process of creating and configuring a Cloudflare API token with the necessary permissions for analytics access.

đź“‹ Required Permissions

⚠️ Important: Your token must include the following permissions:

  • Account Settings: Read
  • Account Analytics: Read
  • Zone Logs: Read
  • Zone Analytics: Read

🚀 Step-by-Step Setup

1. Access Token Management

Navigate to the Cloudflare API Tokens page in your Cloudflare dashboard.

2. Create New Token

Click the “Create Token” button to start the token creation process.

3. Select Template

Choose the “Read analytics and logs” template as your starting point.

4. Add Additional Permissions

Ensure you add the “Account Settings:Read” permission to the template (if not already included).

5. Generate and Save

  1. Review your token configuration
  2. Click “Continue to summary”
  3. Click “Create Token”
  4. Copy and securely store your token immediately

đź’ˇ Security Tip: Store your API token securely and never share it publicly. Treat it like a password!