docs/integrations/app-connections/cloudflare.mdx
Infisical supports connecting to Cloudflare using API tokens and Account ID for secure access to your Cloudflare services.

Click **API Tokens > Create Token** to generate a new API token.

Depending on your use case, add one or more of the following permission sets to your API token:
<Tabs>
<Tab title="Secret Sync">
<AccordionGroup>
<Accordion title="Cloudflare Pages">
Use the following permissions to grant Infisical access to sync secrets to Cloudflare Pages:

**Required Permissions:**
- **Account** - **Cloudflare Pages** - **Edit**
- **Account** - **Account Settings** - **Read**
Add these permissions to your API token and click **Continue to summary**, then **Create Token** to generate your API token.
</Accordion>
<Accordion title="Cloudflare Workers">
Use the following permissions to grant Infisical access to sync secrets to Cloudflare Workers:

**Required Permissions:**
- **Account** - **Workers Scripts** - **Edit**
- **Account** - **Account Settings** - **Read**
Add these permissions to your API token and click **Continue to summary**, then **Create Token** to generate your API token.
</Accordion>
</AccordionGroup>
</Tab>
<Tab title="PKI">
<AccordionGroup>
<Accordion title="ACME DNS Verification">
Use the following permissions to grant Infisical access to verify certificates using DNS TXT records with ACME:

**Required Permissions:**
- **Account** - **Account Settings** - **Read**
- **Zone** - **DNS** - **Edit**
Add these permissions to your API token and click **Continue to summary**, then **Create Token** to generate your API token.
</Accordion>
<Accordion title="Certificate Sync (Custom SSL)">
Use the following permissions to grant Infisical access to sync certificates to Cloudflare as Custom SSL certificates:

**Required Permissions:**
- **Account** - **Account Settings** - **Read**
- **Zone** - **SSL and Certificates** - **Edit**
These permissions allow Infisical to upload, update, and delete custom SSL certificates in your Cloudflare zones.
Add these permissions to your API token and click **Continue to summary**, then **Create Token** to generate your API token.
</Accordion>
</AccordionGroup>
</Tab>
</Tabs>

<Warning>
Keep your API token secure and do not share it. Anyone with access to this token can manage your Cloudflare resources based on the permissions granted.
</Warning>

Save your Account ID for use in the next step.