Skip to main content

Cloudflare Integration

Cloudflare is a free CDN product that protects against threats such as SQL injection and identity theft. Cloudflare gives you the tools to keep your data secure and private, and also improves site performance and speeds up loading times by using its multiple data centers located worldwide. The Cloudflare network acts like a giant VPN.

Accessing Integration Page

Navigate to Application DashboardCloudflare IntegrationIntegrate.

step 1

You will see the Integrate page as shown in the image below.

Application - Cloudflare

Get Zone ID

Step 1: Log in to your Cloudflare Account and select your DNS Cloudflare domain.

info

Please make sure the DNS Cloudflare domain matches with the application domain!

Step 2: Copy your APIZone ID and paste it in the Zone ID field in ServerAvatar, then click on Get your API token link.

Application - Cloudflare

Create API Token

Step 1: Click on the Create Token button in Cloudflare.

Application - Cloudflare

Step 2: Go to the Custom token section and click on Get started button.

Application - Cloudflare

Step 3: Enter the following details:

  • Token name: Enter your token name
  • Permissions: Select the permissions as shown in the image below

Application - Cloudflare

Step 4: Click on Continue to summary button.

Step 5: Click on the Create Token button.

Application - Cloudflare

Step 6: Your Bearer token is successfully created. Click on the Copy button to copy the token.

Application - Cloudflare

Complete Integration

Step 1: Enter your Bearer Token in the ServerAvatar integration form.

Application - Cloudflare

Step 2: Click on Integrate Now button to complete the integration.

caution
  • If your token is invalid, an "Authentication error" message will be displayed.
  • If your permission is invalid, an "Unauthorized to access requested resource" error will be displayed.
info

After successfully integrating Cloudflare, you will see a Settings option in the sidebar under the Cloudflare Integration section. From there, you can update your tokens (Zone ID and Bearer Token) and manage your integration settings later by navigating to Cloudflare IntegrationSettings.