Back to Cloudflare Pages

Quick start: Cloudflare Pages

Plain-English first steps, taken from the official docs. Links go to the official pages.

Step 1: Create a Cloudflare account

Sign in to the Cloudflare dashboard. Pages is available on the Free plan, with build and Functions limits described in the official limits and Workers pricing pages.

Get started with Pages

Step 2: Create a Pages project

Connect a Git repository or upload with Wrangler. Set the build command and output directory from the official framework guides.

Git integration

Step 3: Set environment variables and secrets

Add environment variables in the Pages project settings. Use official secret handling — do not put secrets in the client bundle.

Build configuration

Step 4: Add a custom domain

Attach a custom domain in the Pages project and follow Cloudflare's official DNS and SSL steps. Confirm the site serves over HTTPS.

Custom domains

Official links