Knowledgebase

Create your Cloudflare API Key for Wordpress

In your Wordpress website, we use an API key to connect the website to Cloudflare. 

This enables the website to force a cache clear when you publish new content, among other features and functions. 

Cloudflare restricts the number of API keys in an account to 50, and we can therefore not create and manage this for you. Your API key should be your responsibility anyway, so if you are using your own Cloudflare account then you will need to create this key, then either add it to the plugin on your website, or provide it to us to do. 

Prefer to watch a video?

Part 1: Create the API Key 

Login to dash.cloudflare.com and go to My Profile 

Navigate to API Tokens https://dash.cloudflare.com/profile/api-tokens and click 'Create Token'

Select the ‘Wordpress’ template

Edit the ‘Token name’ to be the domain for this website e.g. mydomain.com 

Under “Account Resources” restrict to the account where the domain resides if required.

Under “Zone Resources” restrict to only the domain for this website

Click 'Continue to summary' and review your settings

Finally click to copy the API key ready for the next step.

Treat this like a password to your online banking! Do not send it by email. 

 

If you don't want to / can't do the next step please drop the API key into https://onetimesecret.com/ and send us the link by email. Do not send the API key by email directly. 

Part 2: Install to your Website 

We may have installed the plugin for you already, you will see it in 

Note you may need to be signed in to your account as a full Administrator. If you cannot see 'Plugins', ensure you have full rights. 

Login to your website, go to plugins and install the Cloudflare plugin if it's not already there. 

Click on 'Settings' on the plugins page, or go to Settings > Cloudflare in the left hand menu.

On the welcome screen click to 'Sign in'

Enter your Cloudflare account email address, and the API Key from Cloudflare. 

Click to 'Save API Credentials'

Was this answer helpful?

0 Users Found This Useful