Prerequisites:
An active Thoropass account with permissions to manage integrations.
An active Cloudflare administrator account.
Creating an API Key in your Cloudflare Account:
Sign in to your Cloudflare account.
Click here and then click on Create Token.
Go to Custom token and click on Get started.
Enter a Name for the API token.
Assign the following Permissions, exactly as shown below for least privilege access
Account: Account Settings : Read
Account: Account WAF : Read
Account: Rule Policies: Read
Account: Account Rulesets: Read
Zone: Settings: Read
Zone: Config Rules: Read
Zone: Zone WAF: Read
Zone: Firewall Services: ReadSelect the Account to be included.
NOTE: Don't leave Account Resources set to
Include: All accounts.
If a specific account is not selected, the API may not function properly.
Assign an expiration for this token, then click 'Continue to Summary'.
Confirm the settings in the API token summary, then click 'Create Token'.
Copy your API Key.
Creating the Integration in Thoropass:
Log into the Thoropass App
Select Settings, Integrations
Click +Browse Integrations.
Scroll to Cloudflare, click on Learn More.
Click Set Up Integration.
Enter a Name for the connection, then click SAVE.
Click Next.
Paste the API Key. Click on Connect.
You should see a connection successful message. You can now close this tab.










