Access information
To create or update your infrastructure and ensure everything is running correctly, we require your Cloudflare Account ID and API token.
Video Guide
Account ID
Click on "Workers & Pages" in the left menu, and you will find the Account ID on the left side.

API Token
To generate an API token, you will need to go to "Manage Account" -> "Account API tokens" in the left menu and click "Create Token".
Select the "Edit Cloudflare Workers" template to speed up the process.

We already have a comprehensive list of permissions that are required for Workers to perform their duties. Now we just need to add 3 more:
Account -> Account Analytics (Read)
Account -> D1 (Edit)
Zone -> DNS (Edit)

The last thing that we need to do is define Zone Resources. Make sure that you select the Specific zone and then your zone.

If you have multiple zones and encounter an error in EdgeTag stating that your token should only be associated with one zone, select "All Zones from an Account," click "Add More," then select "Specific Zone" and choose the zone that is not used for EdgeTag. Repeat this process, excluding zones, until only the one used by EdgeTag remains.

If your domain is not hosted in Cloudflare, ensure that you add support for Custom domains on the next page.
Last updated
Was this helpful?

