Skip to content

The Cloudflare token

The fiddliest part of the whole install. Taken slowly it’s five minutes.

  1. Go to the Cloudflare dashboard and sign in with GitHub. This matters — signing in with GitHub is what lets the deploy button connect the two accounts later.
  2. Click your profile icon (top right) → API Tokens → Create Token.
  3. Choose Custom token → Get started.
  4. Under Permissions, add exactly two:
    • Account → Account Settings → Read
    • Account → Secrets Store → Edit
  5. Continue to summary, then Create Token.
  6. Copy the token into your text file now. Cloudflare shows it once and never again.