How to create an account API token
-
Go to account API token page https://dash.cloudflare.com/?to=/:account/api-tokens
-
Click on create token
-
Scroll down and go to create custom token
-
Follow the instructions and add the necessary permissions
- The list of permissions is different for each check - to ensure the rule of least privilege - and will be provided by your implementation lead based on the checks being enabled.
- Copy your token (this is to be provided to Complyance)
Additional Information can be found here: https://developers.cloudflare.com/fundamentals/api/get-started/account-owned-tokens/
How to get your account ID
- Navigate to Account home
- Click on the three dots (…) on the top-right corner
- Select Copy account ID
How to get your zone ID
There are multiple ways to get this information:
Using the account Home tab
- Log in to the Cloudflare dashboard ↗.
- Go to Account Home page and from the Domains tab, locate and select your domain.
- Click on the 3 dots and select copy Zone ID
Another way to do it is from the Overview page
- Go to the Overview page
- From the Overview page for your account, locate the API section towards the bottom of the page and under zone ID section click on click to copy.
Additional Information can be found here: https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/#copy-your-zone-id/
Once you have completed these steps, please provide the API Key and Zone ID to Complyance.