- Set up and add envars to Infisical Cloud
Navigate to your project’s integrations tab
Authorize Infisical for Cloudflare Pages
- Create a new API token in My Profile > API Tokens
- Copy your Account ID from Account > Workers & Pages > Overview
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.
Select which Infisical environment secrets you want to sync to Cloudflare and press create integration to start syncing secrets.