Skip to main content

Connecting Cloudflare

1

Log into Cloudflare

Sign in to your Cloudflare account using an administrator or privileged user profile with access to manage API tokens.
2

Open the API Tokens Page

Navigate to API Tokens from My Profile, then click Create Token to begin generating the credentials required for Krait.
3

Select or Create the Required Token

Choose the Edit Zone DNS template for the quickest setup, or create a custom token with the necessary DNS read permissions. This token allows Krait to retrieve your DNS zones and records securely.
4

Copy Your API Token

After the token is generated, copy it and store it securely.
You’ll use this token to authenticate your Cloudflare connection inside Krait.
5

Connect Cloudflare in Krait

Open the Krait dashboard and navigate to Integrations → DNS → Cloudflare, then click Connect. Paste your Cloudflare API Token into the form provided.
6

Submit and Validate

Click Submit to complete the integration.
Krait will validate the token and securely connect your Cloudflare DNS zones for monitoring and configuration analysis.
Congratulations! Your Cloudflare is now connected to Krait. You’ll find vulnerabilities in your dashboard soon.

Disconnecting Cloudflare

To disconnect Cloudflare, open the Integrations panel in the Krait dashboard and go to the **DNS ** section. Find Cloudflare in the list of connected integrations and click Disconnect. Only a workspace owner can remove the integration. Confirm the prompt to complete disconnection. After this action, Cloudflare will no longer be used for DNS monitoring or management in Krait. You can reconnect Cloudflare at any time from the DNS section.
You may need to uninstall the KraitDev app from your Cloudflare account manually.