← domainagent

🔗 Connect Cloudflare

Deploy to your infrastructure. One-time setup, ~60 seconds.

1
Why connect?
When you deploy through domainagent, your site is hosted on Cloudflare Pages — the same infrastructure used by millions of sites. By connecting your own account, you stay in control.

What you get

  • Sites deploy directly into your Cloudflare account
  • Full control — edit, delete, or manage deployments yourself
  • If you stop using domainagent, your sites keep running
  • We never see your data or traffic — just push files

What we need

  • A Cloudflare API token with two permissions
  • Takes about 60 seconds to create
  • You can revoke it anytime
2
Create an API token
⚠️ Requirement: Your domain must already be in your Cloudflare account (nameservers pointed to Cloudflare) before connecting. If your domain isn't in Cloudflare yet, DNS setup will fail. Add your domain to Cloudflare first →
Open the Cloudflare dashboard and create a custom API token. If you don't have a Cloudflare account yet, create a free one first — it takes 30 seconds.
Open Cloudflare API Tokens →
Click "Create Token", then "Create Custom Token" (at the bottom), and set exactly these permissions:
Account — Cloudflare Pages Edit
Zone — DNS Edit
Here's what it looks like:
Token name
domainagent
Permissions
Account Cloudflare Pages Edit
Zone DNS Edit
Leave everything else as default. Click "Continue to summary" → "Create Token".
⚠️ Copy the token immediately — Cloudflare only shows it once.
3
Paste & validate
Paste your Cloudflare API token below. We'll check that it works and has the right permissions before saving anything.
Token authentication
Account access
Cloudflare Pages permission
DNS permission
4
Confirm & connect
Your token is valid. Now authenticate with your wallet so we know who owns this connection.
🎉
Connected!
Your Cloudflare account is linked. All deployments through domainagent will go directly to your infrastructure.
← Back to domainagent
You can disconnect anytime by revoking the token in your Cloudflare dashboard.