Cloud & infrastructure
Cloudflare
Connect a Cloudflare account with a read-only API token, plus optional just-in-time write elevation.
Cloudflare connects with an API token you create, and supports opt-in write elevation via a second token.
Connect
Section titled “Connect”-
In the Cloudflare dashboard, copy your Account ID — 32 hex characters, on your account home page or in the API panel of any zone’s Overview.
-
In Dave, go to Integrations → Add integration → Cloudflare.
-
Paste the Account ID.
-
Use the Create a token in Cloudflare link — it deep-links to token creation for that account. Create a token as described under Permissions and copy it. Cloudflare shows it once.
-
Paste it into API token. It is stored encrypted and never shown again.
-
Set a Label — see labels.
-
Optionally add an Elevation API token — see Just-in-time elevation.
-
Choose Connect Cloudflare. Dave checks the token with Cloudflare; you do not need to stay on the page.
Permissions
Section titled “Permissions”Read token
Section titled “Read token”Create the token from this template:
Read all resourcesDave checks the token by reading the account you entered, so the token must be able to read that account.
Elevation token
Section titled “Elevation token”Optional. Create a second, separate token and give it only the Edit permission groups for the resources you want Dave to be able to change — for example DNS or Workers — on the account and zones you choose. Dave can never write beyond what this token allows. It must be a different token from the read token; Dave rejects the same token pasted twice.
Who can connect
Section titled “Who can connect”Whoever creates the tokens needs a Cloudflare role on the account that allows creating API tokens with the permissions above.
Manage the connection
Section titled “Manage the connection”Cloudflare lists API tokens in two places, depending on where the token was created:
- Account API tokens — Manage Account → Account API Tokens. The Create a token in Cloudflare link creates tokens here.
- User API tokens — My Profile → API Tokens, at dash.cloudflare.com/profile/api-tokens.
From either list you can review a token’s permissions, roll it, or delete it. Deleting the read token cuts Dave off; deleting the elevation token disables elevation.
Disconnect in Dave stops Dave using both tokens immediately, but does not revoke them in Cloudflare — they stay active until you delete them there. The same goes for cancelling an unfinished setup.
To replace either token, or to add or remove elevation, disconnect and connect again.
Just-in-time elevation
Section titled “Just-in-time elevation”Supply a second, write-capable token. Dave stores it encrypted and the agent never sees it: each write you approve is sent through Dave as a one-shot, 15-minute grant for exactly the calls shown. Leave the field blank to keep the account read-only.
Troubleshooting
Section titled “Troubleshooting”- Validation takes long — confirm the token is still active in Cloudflare and can read the account ID you entered.
- Cloudflare rejects the credentials — check the account ID and that the token is active and can read that account, then connect again.
- Cloudflare rejects the elevation token — check it is active, is not the read token, and was not pasted into the wrong field.