Prerequisites:

1

Authorize Infisical for Cloudflare Pages

Obtain a Cloudflare API token and Account ID:

Create a new API token in My Profile > API Tokens

Copy your Account ID from Account > Workers & Pages > Overview

Navigate to your project’s integrations tab in Infisical.

Press on the Cloudflare Pages tile and input your Cloudflare API token and account ID to grant Infisical access to your Cloudflare Pages.

If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.

2

Start integration

Select which Infisical environment secrets you want to sync to Cloudflare and press create integration to start syncing secrets.