Cloudflare
This guide walks you through the step-by-step process to enable Cloudflare Integration in Cloudsania.
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:
-
You have an active Cloudflare account.
-
You have generated an API token with the required permissions.
-
You have retrieved your Cloudflare Account ID.
Enable Cloudflare Integration in Cloudsania
Navigate to the Integrations Page
-
Log in to Cloudsania and navigate to Integrations from the sidebar.
-
Locate Clouflare in the list of available integrations.
Enable the Github Integration
-
Toggle the Clouflare switch to activate the integration.
-
A confirmation pop-up will appear.
-
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.
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.
Click Create Token and select Custom Token.
Set the Token Name (e.g., "Cloudsania API Token").
Add the following permissions:
-
Zone โ Zone Settings โ Edit
-
Zone โ Zone Settings โ Read
-
Zone โ Zone โ Read
-
Zone โ DNS โ Read
-
Zone โ Zone โ Edit
-
Zone โ DNS โ Edit
Under Zone Resources, select Include All Zones.
(Optional) Restrict how the token is used in the Client IP Address Filtering and TTL (time to live) fields.
Select Continue to summary.
Review the token summary. Select Edit token to make adjustments. You can also edit a token after creation.
Select Create Token to generate the token's secret.
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
Navigate to Integrations > Cloudflare > Setup Cloudflare Integration
Enter your Cloudflare Account ID
Paste the copied Cloudflare API Key
Click 'Verify' to authenticate the connection
Youโll receive a success message upon successful integration
Verify Cloudflare Integration Status
Once verification is successful, Cloudsania will confirm the integration.
The Cloudflare Integration Toggle will turn ON, indicating a successful setup.