This guide will walk you through the process of creating and configuring a Cloudflare API token with the necessary permissions for analytics access.
⚠️ Important: Your token must include the following permissions:
- Account Settings: Read
- Account Analytics: Read
- Zone Logs: Read
- Zone Analytics: Read
Navigate to the Cloudflare API Tokens page in your Cloudflare dashboard.
Click the “Create Token” button to start the token creation process.
Choose the “Read analytics and logs” template as your starting point.
Ensure you add the “Account Settings:Read” permission to the template (if not already included).
đź’ˇ Security Tip: Store your API token securely and never share it publicly. Treat it like a password!