Skip to content

All integrations

Connect Cloudflare to ShipVitals

Zones, Web Analytics, Registrar renewals, and estimated Workers, R2 and plan costs

BetaRead-only key · about 3 minutes

Beta: this connector is new in the beta, and we're still checking it against more accounts.

Connect Cloudflare

What it reads

Account Analytics Read
Reads Web Analytics, Workers and R2 usage
Analytics Read (zone)
Reads each zone's daily requests and page views
Zone Read
Lists zones and their plans
Account Settings Read
Lists Web Analytics sites
Billing Read
Reads subscriptions for the estimated cost
Workers Scripts Read
Lists Workers
Workers R2 Storage Read
Lists R2 buckets
Registrar domains read (optional)
Lists domains registered with Cloudflare, their expiry and auto-renew

Read-only: ShipVitals can't change anything at Cloudflare.

What ShipVitals keeps: The API token, encrypted, and the Account ID if you enter one.

Every connector's scopes, on one page

How to connect

  1. Open Cloudflare's Create API Token page with ShipVitals' read permissions already chosen.
  2. If you buy domains through Cloudflare Registrar, add the Registrar domains read permission too.
  3. Limit it to your account, create it, and copy the token. Cloudflare shows it once.

About 3 minutes.

Open Cloudflare

How to revoke

Revoke it at Cloudflare

Removing the connection in ShipVitals deletes the stored key at once.

What it powers

Dashboard tabs: Costs, Usage, Obligations.

Figures it fills

  • Page views
  • Visits
  • HTTP requests
  • storage.bytes
  • bandwidth.bytes
  • Workers requests
  • R2 Class A operations
  • R2 Class B operations

Sync

  • Free: Daily
  • Indie: Hourly
  • Studio: Every 15 minutes
  • Agency: Every 15 minutes

Cloudflare reports a day in full after 1 day; ShipVitals waits for it.

Troubleshooting

Each error a connection can hit, and its fix. The connection's health page names the one it hit.

Access refused
Cloudflare didn't accept the token: it may have expired, been rolled or deleted. Create a new one from the pre-filled link and paste it.
A permission is missing
Cloudflare refused part of the account's data: the token is missing one of the read permissions. Create it again from the pre-filled link.
Access removed
ShipVitals' access was removed in Cloudflare. Connect it again; the history it brought in is kept.
Rate-limited
Cloudflare is limiting this token's requests (1,200 per 5 minutes, shared with the dashboard and your other tools). ShipVitals tries again in 5 minutes.
Quota reached
The account used up a Cloudflare quota. The sync resumes when the quota resets.
Not found
Something the connection reads is gone from Cloudflare: renamed, moved or removed. Review the connection's resources, or connect again.
Cloudflare is unavailable
Cloudflare is having trouble on its side. Check its status page; ShipVitals retries by itself.
Couldn't reach Cloudflare
The request didn't get through. ShipVitals retries by itself; if it keeps failing, check that Cloudflare is reachable.
An answer ShipVitals didn't expect
Cloudflare answered in a shape ShipVitals didn't expect, usually after a change on its side. We're told, and the data you have is kept.
A setting doesn't work
Cloudflare needs to know which account to read: enter its Account ID, or create a token for that account only.

Docs