> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudcapital.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate Cloudflare

> Import daily Cloudflare usage costs with a read-only Billing token.

> [!NOTE]
>
> Cloudflare support is flag-gated. Ask your Cloud Capital Customer Success Manager to enable it for
> your organization.

Cloud Capital reads Cloudflare's Billable Usage API and imports daily cost by account, product,
service, and zone. One integration can cover several Cloudflare accounts that share an API token.
The token is used only to read billing data.

> [!WARNING]
>
> The Billable Usage API covers self-serve (pay-as-you-go) accounts. If Cloudflare reports that an
> account is not covered, the connection test names it and the integration cannot be enabled for
> it. Enterprise contract billing is not supported yet.

### Requirements

* The 32-character ID of each Cloudflare account to import. It appears in the dashboard URL and on
  each account's overview page.
* A Cloudflare API token with the **Billing Read** permission on every listed account, and no other
  permissions.

### Setup

**1. Create a read-only token**

In the Cloudflare dashboard, create an API token with the **Account → Billing → Read**
permission. Include every account you plan to import under **Account Resources**.

**2. Create the integration**

Choose **Cloudflare**, enter the account IDs separated by commas or new lines, paste the token,
then select **Test Connection**. The test reads billable usage info for every listed account.

**3. Enable and save**

After a successful test, set the integration to **Enabled** and save it. Daily ingestion runs
on the shared vendor-billing runtime.

Costs are imported in USD. Charges that cover several days, such as monthly subscriptions, are
spread evenly across those days. Cloudflare spend does not appear in Cost Insights or forecasts
yet. The integration loads and aggregates daily Cloudflare spend.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.