> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tierzerocode.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloudflare Zero Trust

> Configure Cloudflare Zero Trust Device Integration

The following steps will integrate Cloudflare Zero Trust by using an Account API Token with the below API permissions. Currently setup is limited to using an Account API Token with an api token, account id, and domain.

## Required Permissions

| API          | Permission                  | Description                     |
| :----------- | :-------------------------- | :------------------------------ |
| Custom Token | Account : Zero Trust : Read | Zero Trust Devices and Services |

## Setting Up Cloudflare Zero Trust Device Integration

In Tier Zero Code, go to “Integrations” and click on the Cloudflare Zero Trust device integration then enable and configure integration.

<img src="https://mintcdn.com/awbtechllc/NAtDWYV0F5U97RvD/images/image-7.png?fit=max&auto=format&n=NAtDWYV0F5U97RvD&q=85&s=6357f2b63573eb712df1d787313e89cf" alt="Image" width="1917" height="926" data-path="images/image-7.png" />

In the Cloudflare Zero Trust Configuration, you'll need the following fields:

<ResponseField name="API Token" type="string" required>
  The API Token value from the "Account API tokens" page post creation confirmation.
</ResponseField>

<ResponseField name="Account ID" type="string" required>
  The account ID from the primary tenant domain "Overview" page.
</ResponseField>

<ResponseField name="Tenant Domain" type="string" required>
  The primary domain for the Cloudflare account Zero Trust platform.
</ResponseField>
