Connect Your Cloudflare Account
The first wizard step validates your Cloudflare credentials (Account ID + API token) so FlareWatch can deploy workers and KV namespaces in your account.
Create an API token
Open API Tokens
Go to Cloudflare API Tokens and click Create Token.
Create custom token
Choose Create Custom Token.
Add required permissions
| Permission | Access | Required |
|---|---|---|
| Workers Scripts | Edit | Yes |
| Workers KV Storage | Edit | Yes |
| DNS | Edit | Only for auto DNS |
| Zone | Read | Only for auto DNS |
Set resources
Under Account Resources, select the Cloudflare account you want to deploy to. If you added DNS/Zone permissions, scope Zone Resources to the zone(s) you want to manage.
Create and copy token
Click Continue to summary then Create Token. Copy it immediately.
Cloudflare may label some permissions as Write in API docs and Edit in
the dashboard. For FlareWatch, treat them as equivalent.
Ensure your account has a workers.dev subdomain enabled. The wizard validates this and will stop early if it is missing.
Paste token in the wizard
Paste the token with your Account ID. The wizard validates:
- token validity,
- account access,
- workers.dev subdomain availability,
- required permissions.
The API token is not stored in plaintext. During wizard use, it is encrypted and stored in session KV with a short TTL (about 30 minutes), then refreshed while active and removed when the session is cleared or expires.
Next: Configure monitors.