How to get the Cloudflare key
The Cloudflare key is required: it keeps your presell pages online, registers your domains, and provides security, stability, and protection for your whole setup — with automatic SSL, smart bot blocking, and pages that stay available even during traffic spikes. You only need to get the key once, and it takes just a few minutes.
Heads up: the most common mistake is copying the wrong code at the end of the process. Cloudflare shows several similar-looking codes on the same screen, and only one of them works in AdsX. Step 7 shows exactly which one to copy.
Is the interface showing in another language?
This guide uses the Cloudflare interface in English. If you switched the language to English and it still shows in another language, your browser is automatically translating the page. The video below shows how to force English:
1. Open the API Keys screen in AdsX
Open API Keys in the main menu, as shown below:

Keep this screen open: you'll come back to it at the end to paste the key.
2. Sign up or log in to Cloudflare
Click the Cloudflare logo on the card, or go directly to dash.cloudflare.com.
The fastest way is to click Continue with Google. If you already have an account, click Log in at the bottom of the page.

3. Open the tokens area
In the left menu, click Manage account.

In the options that open, click Account API tokens.

4. Create a new token
Click Create Token (top right corner) or Create a token (middle of the screen). Both do the same thing.

5. Choose the "Write all resources" permission
Under Permission policies, click Write all resources.

- Token name: you can keep the name Cloudflare suggested.
- Token expiration: leave it on No expiration (selected by default).
Don't choose "Read all resources" or any other option. With a different permission, AdsX can't publish your pages.
6. Review and create the token
Click Review token at the bottom of the page.

The next screen shows a long list of permissions. You don't need to check anything: scroll to the bottom and click Create token.

7. Copy the right key: "Your API Token"
This is the most important part. Cloudflare shows several codes in the same window, but AdsX only accepts one: the one in the Your API Token field.
Click the copy icon next to Your API Token.

Don't copy any of these other fields. They look like keys, but they don't work in AdsX:
- Account ID: it's the first field in the window, and the most common mistake.
- Access Key ID
- Secret Access Key
- S3 API endpoint
- Example Usage

How to tell you copied the right one:
- The code was right below the yellow box "Important: Copy your token now".
- It usually starts with
cfat_.- If the code has only numbers and the letters "a" to "f" (32 characters), you copied the Account ID. Go back and copy the Your API Token field.
Copy it before clicking Confirm. Cloudflare shows the key only once. If you close the window without copying it, there's no way to see it again: create another token by repeating steps 4 to 7.
After copying, click Confirm.
8. Paste the key into AdsX
Go back to the API Keys screen in AdsX, paste the key into the Cloudflare card, and click Save.
Done! Your presells are ready to be published.
Seeing "Incorrect Cloudflare Key"?
This almost always happens because the wrong field was copied in step 7. To fix it:
- In Cloudflare, create a new token (steps 3 to 6).
- Copy the Your API Token field (step 7) and save it in AdsX.
Updated on: 21/09/2026
Thank you!