Integrating Cloudflare with Cloudsania enables seamless management of DNS records, security settings, and automated configurations. By linking your Cloudflare account, you can manage your Zones and create DNS records.

Prerequisites

Before enabling Cloudflare integration, ensure the following:

  1. You have an active Cloudflare account.

  2. You have generated an API token with the required permissions.

  3. You have retrieved your Cloudflare Account ID.

Enable Cloudflare Integration in Cloudsania

1

Navigate to the Integrations Page

  1. Log in to Cloudsania and navigate to Integrations from the sidebar.

  2. Locate Clouflare in the list of available integrations.

2

Enable the Github Integration

  1. Toggle the Clouflare switch to activate the integration.

  2. A confirmation pop-up will appear.

  3. Click โ€˜Confirmโ€™ to proceed with enabling the Cloudflare integration.

Generate a Cloudflare API Token

To securely connect Cloudsania with Cloudflare, generate an API token.

Prerequisite

Before you begin,ย find your zone and account IDs.

1

Log in to your Cloudflare Dashboard.

From theย Cloudflare dashboardย โ†—, go toย My Profileย >ย API Tokensย for user tokens. For Account Tokens, go toย Manage Accountย >ย API Tokens.

2

Click Create Token and select Custom Token.

3

Set the Token Name (e.g., "Cloudsania API Token").

4

Add the following permissions:

  1. Zone โ†’ Zone Settings โ†’ Edit

  2. Zone โ†’ Zone Settings โ†’ Read

  3. Zone โ†’ Zone โ†’ Read

  4. Zone โ†’ DNS โ†’ Read

  5. Zone โ†’ Zone โ†’ Edit

  6. Zone โ†’ DNS โ†’ Edit

5

Under Zone Resources, select Include All Zones.

6

(Optional) Restrict how the token is used in the Client IP Address Filtering and TTL (time to live) fields.

7

Select Continue to summary.

8

Review the token summary. Select Edit token to make adjustments. You can also edit a token after creation.

9

Select Create Token to generate the token's secret.

10

Copy the secret to a secure place.

Warning

The token secret isย only shown once. Do not store the secret in plaintext where others can access it. Anyone with this token can perform the authorized actions against the resources that the token has access to.

Configure Cloudflare Integration in Cloudsania

1

Navigate to Integrations > Cloudflare > Setup Cloudflare Integration

2

Enter your Cloudflare Account ID

3

Paste the copied Cloudflare API Key

4

Click 'Verify' to authenticate the connection

Youโ€™ll receive a success message upon successful integration

Verify Cloudflare Integration Status

1

Once verification is successful, Cloudsania will confirm the integration.

2

The Cloudflare Integration Toggle will turn ON, indicating a successful setup.