Connect your Cloudflare account

To put a Builder site on your own domain, first connect your Cloudflare account once. Turtini then manages the DNS, the routing, and the SSL certificate for you — you never touch a raw DNS record. Only org owners and admins can connect Cloudflare, and the token is stored server-side as a secret; it's never sent back to your browser after you save it.

Open Builder → Domains and click "Connect Cloudflare". You'll paste two things: a scoped API token and your Cloudflare Account ID.

To create the scoped API token in Cloudflare:
1. Open Cloudflare → Profile → API Tokens (dash.cloudflare.com/profile/api-tokens).
2. Click "Create Token" and pick the "Edit zone DNS" template.
3. Under Permissions, add a second row: Account -> Zone -> Edit. This one lives under the Account category (separate from the zone-level permission already in the template) and is what lets Turtini register new domains.
4. Add a third row: Zone -> Cache Purge -> Purge. This lets Turtini flush your CDN cache the instant you publish a Builder change, so search engines and social-link previews see the new content immediately instead of waiting on Cloudflare's stale-while-revalidate window.
5. Under Zone Resources, pick "All zones" from the account you want Turtini to manage.
6. Click "Continue to summary" -> "Create Token", then copy the token string shown on the confirmation screen. Cloudflare only shows it once — copy the token value itself, not the token's name from the tokens list.

To find your Account ID: open any existing domain in Cloudflare and copy it from the "API" panel on its Overview page, or grab it from the dashboard URL (dash.cloudflare.com/<accountId>/...).

Paste both into the Connect Cloudflare form and click Connect. If Cloudflare rejects the token, double-check you copied the token value shown once right after clicking Create Token — not the token's display name from the tokens list.

Once connected, the Domains tab lists every domain in your Cloudflare account, ready to point at a Turtini site. To disconnect later, use the "Disconnect" control on the Cloudflare status banner — that removes the stored token and Turtini-side metadata; your zones, DNS records, and domains stay untouched in Cloudflare itself.