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 Dashboard → Cloudflare Integration → Integrate.

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

Get Zone ID
Step 1: Log in to your Cloudflare Account and select your DNS Cloudflare domain.
Please make sure the DNS Cloudflare domain matches with the application domain!
Step 2: Copy your API → Zone ID and paste it in the Zone ID field in ServerAvatar, then click on Get your API token link.

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

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

Step 3: Enter the following details:
- Token name: Enter your token name
- Permissions: Select the permissions as shown in the image below

Step 4: Click on Continue to summary button.
Step 5: Click on the Create Token button.

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

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

Step 2: Click on Integrate Now button to complete the integration.
- 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.
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 Integration → Settings.