Capabilities
Gather Cloudflare Zero Trust credentials
Configuring the connector requires you to pass in credentials generated in Cloudflare Zero Trust. Gather these credentials before you move on.Locate your Cloudflare Account ID
1
Log into your Cloudflare Super Administrator account and select Workers from the left nav.
2
On the Workers page, find your Account ID on the right side of the page.
3
Copy and save the Account ID.
Create an API Token
1
Click the user icon and select My Profile.
2
Click API Tokens on the left side, then click Create Token.
3
At the bottom of the page, in the Custom Token area, click Get started.
4
Fill out the Create Custom Token page as follows:
- Give the API token a name, such as C1
-
Set the appropriate permissions for the API token:
If you want to use C1 to provision Cloudflare Zero Trust groups and roles, set:
- Account -> Account Settings -> Read
- Account -> Access: Organizations, Identity Providers, and Groups -> Edit
- Account -> Access: Apps and Policies -> Read
- Account -> Access: Audit Logs -> Read
- Account -> Account Settings -> Read
- Account -> Access: Organizations, Identity Providers, and Groups -> Read
- Account -> Access: Apps and Policies -> Read
- Account -> Access: Audit Logs -> Read
- Click Continue to summary.
5
Click Create Token and copy the token generated for you.
- Account ID
- API token
- Account ID
- The email address associated with your Cloudflare account
- Global API key
Configure the Cloudflare Zero Trust connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Cloudflare Zero Trust connector is now pulling access data into C1.
1
In C1, navigate to Apps > Connectors and click Add connector.
2
Search for Cloudflare Zero Trust and click Add.
3
Choose where to add the connector: Create a new app, or Add to an existing app (then select the app).If you’re creating a new app, choose whether to link it to an application discovered from your identity provider: select Yes and pick the IdP application, or No to continue with just the connector.
4
Set the connector’s Name and, optionally, a Description.
5
Click the pencil icon next to Owners to choose who can configure and manage this connector.
6
Click Add. The connector is created and its configuration page opens.
7
Find the Settings area of the page and click Edit.
8
Choose how you’ll authenticate to Cloudflare Zero Trust:
- Select API token, then enter the account ID into the Account ID field and paste the API token into the API token field.
- Select Email + API key, then enter the account ID into the Account ID field, your email into the Email ID field, and your Global API key into the API key field.
9
Click Save.
10
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.