Website Building

Cloudflare

8min

The Cloudflare modules enable you to monitor, create, or update zones and monitor, create, list, patch, delete, or export/import DNS records in your Cloudflare account.

Getting Started with Cloudflare

Prerequisites

  • A Cloudflare account

In order to use Cloudflare with Make, it is necessary to have a Cloudflare account. If you do not have one, you can create a Cloudflare account at dash.cloudflare.com/sign-up.

Connecting Cloudflare to Make

To connect your Cloudflare account to Make, you'll need to create an API token or retrieve an API Key in your Cloudflare account.

Choose one of the options for establishing a connection:

  • API Token (allows scoped and permissioned access to resources, and uses the RFC compliant Authorization Bearer Token Header)
  • API Key

Connecting Using an API Token

1. Log in to your Cloudflare account.

2. Click your profile icon in the top-right corner, and select the My Profile option.

Document image


3. Open the API Tokens tab, and click the Create Token button.

Document image


4. On the API Tokens page, click the Get Started button to create a custom token.

Document image


5. Enter the desired name for your token, and add required permissions and additional permissions needed for the modules you want to use in your . Then click Continue to summary and Create a Token.

Required Permissions:

  • Zone:Zone:Read
  • User:User Details:Read
  • Account:Account Settings:Read
Document image


Additional Permissions

Module name

Permission required for the module

Watch Zones

Zone:Zone:Read

Create a Zone

Zone:Zone:Edit

Change a Zone's SSL Setting

Zone:Zone Settings:Edit

Change a Zone's Security Level

Zone:Zone Settings:Edit

Turn a Zone into Development Mode

Zone:Zone Settings:Edit

Watch DNS Records

Zone:DNS:Read

Create a DNS Record

Zone:DNS:Edit

List DNS Records

Zone:DNS:Read

Patch a DNS Record

Zone:DNS:Edit

Delete a DNS Record

Zone:DNS:Edit

Export DNS Records

Zone:DNS:Read

Import DNS Records

Zone:DNS:Edit

Create a Certificate

List Certificates

Revoke a Certificate

Watch User Billings

6. Copy the token provided.

Document image


7. Go to Make, open the Cloudflare module's Create a connection dialog, and select the API Token option in the Authentication Method field.

8. Enter the API Token you have copied in step 6 to the respective field, and click the Continue button to establish the connection.

The connection has been established. You can proceed with setting up the module.

Connecting Using API Key

1. Log in to your Cloudflare account.

2. Click your profile icon in the top-right corner, and select the My Profile option.

61f2695143d3b.gif


3. Open the API Tokens tab, and click the View button for the Global API Key. Enter the password, and copy the displayed Global API Key.

Document image


4. Go to Make, open the Cloudflare module's Create a connection dialog, and select the API Key option in the Authentication Method field.

5. Enter the Global API Key you have copied in step 3 to the respective field, enter your account email, and click the Continue button to establish the connection.

The connection has been established. You can proceed with setting up the module.

Common Problems

The operation failed with an error. [403] Error 9109: Unauthorized to access requested resource

Add the permission to your API Token that is required by the module you want to use. Please see the additional permissions list.

The operation failed with an error. [501] Error 10000: API Tokens are not supported by this API for now.