Skip to main content

How To: Integrate Cloudflare with Thoropass

Step-by-step guide to integrate your Cloudflare account with Thoropass

Stephen Gentile avatar
Written by Stephen Gentile
Updated over 2 weeks ago


Prerequisites:

  • An active Thoropass account with permissions to manage integrations.

  • An active Cloudflare administrator account.


Creating an API Key in your Cloudflare Account:

  1. Sign in to your Cloudflare account.

  2. Click here and then click on Create Token.

    'Click on create token'

  3. Go to Custom token and click on Get started.

  4. Enter a Name for the API token.

  5. 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: Read

  6. Select the Account to be included.

    NOTEDon't leave Account Resources set to Include: All accounts.
    If a specific account is not selected, the API may not function properly.


  7. Assign an expiration for this token, then click 'Continue to Summary'.

    'Copy the access token'

  8. Confirm the settings in the API token summary, then click 'Create Token'.

  9. Copy your API Key.



Creating the Integration in Thoropass:

  1. Log into the Thoropass App

  2. Select Settings, Integrations

  3. Click +Browse Integrations.

  4. Scroll to Cloudflare, click on Learn More.

  5. Click Set Up Integration.

  6. Enter a Name for the connection, then click SAVE.

  7. Click Next.

  8. Paste the API Key. Click on Connect.

  9. You should see a connection successful message. You can now close this tab.

Did this answer your question?