# Cloudflare

Connect an account to review billing history and operational usage for selected zones.

## Access and setup

A Cloudflare administrator creates a scoped API token with **Account → Billing → Read**, **Zone → Zone → Read** and **Zone → Analytics → Read**. Limit resources to the account and zones needed. Security analytics can require additional provider access and plan availability.

1. Open **Settings → Data sources → Integrations** and select the SaaS Cloudflare connection.
2. Enter a connection name, API token, account ID and zone IDs.
3. The setup form accepts **1–10 distinct zone IDs**. Follow the form's separator instructions.
4. Complete billing, zone ownership and analytics checks.
5. Inspect the collected streams and dates, then verify the published report.

Enter secrets directly in CloudVerse. Use sanitized connection and error references for support.

## Available data

| Stream | Interpretation |
|---|---|
| Billing history | Account billing events with source monetary fields |
| CDN usage | Daily request counts and edge-response bytes from adaptive HTTP analytics |
| DNS usage | Daily DNS request counts |
| Security events | Optional firewall-event counts when accessible |

Usage collection uses completed UTC days. Adaptive analytics can be sampled. Match zones, dates and datasets when comparing to Cloudflare. Security coverage can remain unavailable while billing, CDN and DNS are present.

## Verify and recover

Match a known billing event and a completed day of zone usage. Confirm account, zones, currency, dates and units. For a failed analytics stream, check zone ownership and token scope. Use retained captured reports for downstream [publication recovery](../developers/integration-lifecycle.md).
