In this article, you’ll learn how to integrate Cloudflare Zero Trust with Real-Time Coaching. Once the integration is complete, data provided by Cloudflare Zero Trust will be available for use in the Coaching tab of your KnowBe4 Security Awareness Training (SAT) console. This data can be viewed in Real-Time Coaching reports and used to create Real-Time Coaching categories. For general information about Real-Time Coaching, see our overview article.
Set Up the Integration in Cloudflare Zero Trust
Before you can set up this integration in Real-Time Coaching, you'll need to use the Cloudflare Zero Trust platform to create an API Token and copy your Account ID by following the steps below:
- Log in to your Cloudflare dashboard.
- From the left sidebar, select My Profile. A drop-down menu will display.
- In the My Profile drop-down menu, select API Tokens > Create Token. A new page will open.
- In the Custom token section, select Get started to create an API Token with custom permissions. A Create Custom Token window will display.
-
In the Create Custom Token window, select the required permission by following the screenshot and list below:
- Token name: Enter the desired name for your token. We recommend "KnowBe4 Token."
-
Permissions: Two permissions are required for this integration.
For the first permission, use the drop-down menus to select Account, Logs, and Edit. Then, select + Add more to add your second permission.
For the second permission, use the drop-down menus to select Account, Zero Trust: PII, and Read.
- Select Continue to summary to view a summary of the permissions you’ve assigned to your API token. Verify that your selections are accurate, then select Create Token.
-
Select Copy to copy your API Token. Make sure to save your copied API token somewhere that you can easily access. You'll need this token to complete the Real-Time Coaching integration setup.
-
Locate your Account ID in your Cloudflare dashboard URL. Your Account ID can be found immediately after cloudflare.com/ in the URL.

Make sure to save your copied account ID somewhere that you can easily access. You'll need this ID to complete the Real-Time Coaching integration setup.
Set Up the Integration in Real-Time Coaching
Once you have created your API Token and copied your Account ID from your Cloudflare Zero Trust account, you can set up the integration in Real-Time Coaching by following the steps below:
- Log in to your KnowBe4 SAT console.
- Navigate to Coaching > Setup > Security Vendor Integrations.
- Locate Cloudflare Zero Trust and select Configure.
- Select Authorize.
Map Your Users
After you’ve finished integrating Cloudflare Zero Trust, we recommend mapping your users using mapping rules or by uploading a CSV file. For more information, see our user mapping article.
Manage Detection Rules
Once you’ve successfully authorized this integration, you can also manage Cloudflare Zero Trust detection rules from Coaching > Detection Rules. For a full list of available system detection rules for this vendor, see our System Detection Rules by Vendor article.
Delete the Integration in Real-Time Coaching
To delete the Cloudflare Zero Trust integration from Real-Time Coaching, follow the steps below:
- Log in to your KnowBe4 SAT console.
- Navigate to Coaching > Setup > Security Vendor Integrations.
- Locate the Cloudflare Zero Trust vendor tile and select Edit.
- Select Delete Integration near the bottom of the page.


