Security first: Anyshift only requests read-only access. Prefer Connect with Cloudflare (OAuth / OIDC). An Account API token is available as a fallback. Do not grant Edit or Write permissions.
Setup Guide
You can connect Cloudflare in either of two ways. OAuth / OIDC is recommended. Go to Integrations → Cloudflare in Anyshift to start.- OAuth / OIDC (recommended)
- API token
Connect with Cloudflare (OAuth / OIDC)
Use OAuth when you want a one-click authorize flow without pasting a long-lived API token.- Open Integrations → Cloudflare.
- Click Connect with Cloudflare.
- Sign in to Cloudflare if prompted, pick the account to authorize, and approve the read-only scopes Anyshift requests.
- You return to Anyshift. The page shows the connected Cloudflare account.
OAuth scopes (recommended full read set)
Anyshift requests these read-only scopes for full inventory. Approving a subset (or using a zone-scoped grant) still works; missing scopes soft-fail and those inventory families may be incomplete.What Annie uses this for
Once connected, Annie can:- List zones and DNS records for hostname-to-resource mapping
- Read zone settings that affect edge behavior (for example SSL mode)
- Inventory certificates, WAF/firewall rulesets, load balancers, Workers, tunnels, and Access when those Read permissions are present
- Correlate Cloudflare configuration with your broader infrastructure graph during investigations
Troubleshooting
OAuth connect fails or returns to Anyshift with an error- Confirm you approved the requested scopes in the Cloudflare consent screen.
- Try Disconnect, then Connect with Cloudflare again.
- If your Cloudflare user cannot authorize the account, ask an account admin to complete the connect flow.
- Confirm the Account ID matches the account the token was created for.
- Confirm the token includes at least the core Read permissions you expect (Account Settings, Zone, Zone Settings, DNS).
- Confirm the token is not expired or revoked in the Cloudflare dashboard.
Try Anyshift
Create an account
Request a demo
See Anyshift Root Cause Analysis in action