# Billing interfaces

Each source's connect guide owns what Costfluent reads from it and with which access. This page
lines those facts up so you can compare sources before you connect one, and links each guide. The
grain, history and access cells quote the guide they link, several quotes in one cell separated by
semicolons, and a dash where the guide does not state it; the guide says the rest, such as which
plan's backfill applies and when each day's cost settles.

## Sources

| Source | Billing interface | Authentication | Grain | History on connecting | Access granted | Terraform |
|---|---|---|---|---|---|---|
| [Aiven](/connect/aiven) | Organization invoices through the Aiven API | Application token with View billing | files every row on the first day of its month | at most six months | the "View billing" permission and no other | [Example](/connect/aiven#connect-with-terraform) |
| [Akamai Cloud (Linode)](/connect/akamai-cloud-linode) | Account invoices through the Linode API | Read-only personal access token | per invoice item and region | at most six months | the "Account" scope at "Read Only" | [Example](/connect/akamai-cloud-linode#connect-with-terraform) |
| [Anthropic (Claude API and Claude Enterprise)](/connect/anthropic) | Admin API cost report, or the Claude Enterprise Analytics API | Admin API key or Analytics API key | by UTC day | at most six months | An Admin API key cannot be scoped down; Only the Claude Enterprise Analytics API key is read-only | By hand |
| [AWS](/connect/aws) | FOCUS 1.2 Data Export in S3 | IAM role with external ID | daily granularity | at most six months | a read-only IAM role in your account | Module |
| [Azure](/connect/azure) | Cost Management Cost Details report | Service principal with client secret | – | at most six months | Cost Management Reader on the subscriptions you want imported, or a billing reader role on your Enterprise Agreement or Microsoft Customer Agreement billing account | Module |
| [CircleCI](/connect/circleci) | Organization usage exports through CircleCI's API | Personal API token of an organization admin with the organization ID | by UTC day | at most six months | full read and write access | By hand |
| [ClickHouse Cloud](/connect/clickhouse-cloud) | Organization usage cost API | API key ID and key secret | by UTC day | at most six months | Billing | By hand |
| [Cloudflare](/connect/cloudflare) | Account billable usage API | API token for one account | daily by product family, line item and zone | at most six months | Billing Read on the one account | [Example](/connect/cloudflare#connect-with-terraform) |
| [Confluent Cloud](/connect/confluent-cloud) | Organization costs API | Cloud API key of a service account | by UTC day | at most six months | BillingAdmin role on the organization | [Example](/connect/confluent-cloud#connect-with-terraform) |
| [Cursor](/connect/cursor) | Admin API usage events | Admin API key of the team | by UTC day | at most six months | `admin:*` | By hand |
| [Custom provider](/connect/custom-provider) | Uploaded FOCUS CSV files, or JSON entries through the Public API | None; upload in console or Public API | one row for each day a charge is spread over | – | There are no credentials | By hand |
| [Databricks](/connect/databricks) | System billing tables through a SQL warehouse | Service principal OAuth secret | by UTC day | at most six months | read the billing tables and nothing more of your data | [Example](/connect/databricks#connect-with-terraform) |
| [Datadog](/connect/datadog) | Usage API estimates, final and historical cost | API key and application key | The current and the previous month arrive by UTC day; Older months arrive as one figure per month | at most six months | `usage_read` and `billing_read` | [Example](/connect/datadog#connect-with-terraform) |
| [DigitalOcean](/connect/digitalocean) | Billing Insights through the DigitalOcean API | Personal access token with custom scopes | by day | at most six months; never before 1 December 2025 | `billing:read` and `account:read` | By hand |
| [Elastic Cloud (Elasticsearch)](/connect/elastic-cloud) | Billing API cost per instance | Organization API key | by UTC day | at most six months | the "Billing admin" role and no other role | By hand |
| [Fastly](/connect/fastly) | Account invoices and the month-to-date invoice through Fastly's billing API | Read-only automation token with the Billing role | per product, usage type and region | at most six months | the Billing role; the global:read scope | By hand |
| [FOCUS bucket](/connect/focus-bucket) | FOCUS files in S3-compatible or Azure storage | Read-only access key or container SAS | imports daily cost | at most six months | an access key that may only read the bucket | By hand |
| [FOCUS in BigQuery](/connect/focus-bigquery) | FOCUS table or view in BigQuery | Costfluent's own service account, no key | by the day of each row's `ChargePeriodStart` | at most six months | BigQuery Data Viewer | By hand |
| [GitHub](/connect/github) | Organization metered usage report | Fine-grained personal access token | by UTC day | at most six months | Read-only “Administration” access | By hand |
| [Google Cloud (GCP)](/connect/google-cloud) | BigQuery billing export | Costfluent's own service account, no key | – | at most six months | BigQuery Data Viewer | Module |
| [Grafana Cloud](/connect/grafana-cloud) | Organization billed usage through Grafana's Cloud API | Access policy token with the organization slug | one row per product and closed calendar month | at most six months | the scopes `orgs:read` and `billing-metrics:read` | By hand |
| [Hetzner](/connect/hetzner) | Detailed usage statements linked from invoices | No credential, customer number only | each line of the invoice, per project, product and resource | past months can be imported the day you create the import | Costfluent stores no Hetzner credential | By hand |
| [IONOS Cloud](/connect/ionos-cloud) | Invoices through the Billing API | API token of a dedicated user | per data center and meter | at most six months | administrator rights on the contract | By hand |
| [Kubernetes](/connect/kubernetes) | In-cluster agent usage reports | Cluster token for the agent | Each node's cost for the day | – | cluster-wide read access for the agent's service account | Helm chart |
| [MongoDB Atlas](/connect/mongodb-atlas) | Invoices and line items via Admin API | Service account client ID and secret | Atlas tabulates cost daily | at most six months | the Organization Billing Viewer role | [Example](/connect/mongodb-atlas#connect-with-terraform) |
| [OpenAI](/connect/openai) | Organization Costs API | Organization Admin key | by UTC day | at most six months | Read only | By hand |
| [Oracle Cloud (OCI)](/connect/oracle-cloud) | FOCUS cost reports in Oracle's bucket | API signing key of a dedicated user | by the day the usage occurred | at most six months | nothing but the policy that reads the reports | [Example](/connect/oracle-cloud#connect-with-terraform) |
| [OVHcloud](/connect/ovhcloud) | Public Cloud project usage API | Read-only three-part API key | per calendar month, not per day | at most six months | `GET /auth/details`, `GET /cloud/project` and `GET /cloud/project/*/usage/*` | By hand |
| [PlanetScale](/connect/planetscale) | Organization invoices and their line items through the PlanetScale API | Service token ID and token with the organization name | filed on the first day of the invoice's billing period | at most six months | the organization accesses `read_organization` and `read_invoices` | By hand |
| [Redis Cloud](/connect/redis-cloud) | Redis's own FOCUS cost report through the Redis Cloud API | Account key and the user key of a Viewer | by the day each row's charge period starts | at most six months | the Viewer role | By hand |
| [Scaleway](/connect/scaleway) | Billing API consumption | API key of an IAM application | per billing period, the UTC calendar month, not per day | at most six months | the `BillingReadOnly` permission set | [Example](/connect/scaleway#connect-with-terraform) |
| [Snowflake](/connect/snowflake) | Daily usage in currency via SQL API | Service user with key pair | by UTC day | at most six months | `SNOWFLAKE.ORGANIZATION_BILLING_VIEWER` | [Example](/connect/snowflake#connect-with-terraform) |
| [Twilio](/connect/twilio) | Daily usage records through Twilio's Usage Records API | Restricted API key SID and secret with the Account SID | by GMT day | at most six months | only reading usage records (`/twilio/billing/usage/read`) | By hand |
| [Vercel](/connect/vercel) | Team billing charges in FOCUS format | Access token of a Billing member | by UTC day | at most six months | the Billing role | By hand |

## Terraform

"Example" means the guide's "Connect with Terraform" section creates the vendor's credential and the
connection in one `terraform apply`, with the [Costfluent Terraform provider](/developers/terraform)
and the vendor's own. "Module" means a `costfluent/cost-access` module grants the access, as the
guide shows, and "Helm chart" that the agent's chart installs it. "By hand" means you create the
credential in the vendor's console, as the guide's steps say, and can still create the connection
with the provider's `costfluent_provider` resource.

## Related

- [Manage connections](/connect/manage-connections)
- [Terraform](/developers/terraform)
- [Bring every cloud and SaaS bill into one view](/guides/every-bill-in-one-view)
