# Connect to Anthropic

## Overview

{% hint style="info" %}
&#x20;**On an Anthropic Enterprise plan?** Finout also supports the Enterprise Analytics API in Beta, which brings Claude.ai, Claude Code, Cowork, and Office Agents data into MegaBill. See [Anthropic Enterprise data (Beta)](https://docs.finout.io/billing-integrations/ai-providers/connect-to-anthropic#anthropic-enterprise-data-beta) below.
{% endhint %}

Finout's Anthropic integration lets you automatically ingest cost and usage data from Anthropic's official [Admin API](https://platform.claude.com/docs/en/build-with-claude/administration-api). The integration automatically ingests your Anthropic spend and delivers detailed visibility across key dimensions — models, tokens, service tiers, and workspaces — allowing you to track Anthropic cost and usage alongside your other cloud and SaaS services in Finout for a complete, unified view. Data is refreshed daily, ensuring that spend insights remain accurate and up-to-date.

With this integration, you can:

* Connect one or more Anthropic organizations with read-only Admin API keys
* Include Anthropic cost and usage data in custom dashboards, set up alerts to track anomalies, and incorporate it into your financial plans to ensure spending is within budget.

#### Step 1: Create an Anthropic API Key

{% hint style="success" %}
**Prerequisite**: You must have the Anthropic admin role in your organization to create an Admin API key.
{% endhint %}

1. Navigate to the Anthropic Console → [Admin keys page](https://console.anthropic.com/settings/admin-keys) .<br>

   <figure><img src="/files/aEsOejiMgqKtBgDKK17s" alt=""><figcaption></figcaption></figure>
2. Click **+ Create Admin Key**.
3. Enter a **Name** with a clear identifier (e.g. Finout Integration) and then click **Add**.
4. **Copy the key** immediately and store it securely, as it will not be shown again.<br>

   <figure><img src="/files/noQvsypHyb0zVq5yGPuy" alt=""><figcaption></figcaption></figure>

#### Step 2: Connect Anthropic to Finout

1. In Finout, navigate to **Settings**.<br>

   <div align="left"><figure><img src="/files/8jdJQcFtiZx5CSiOKEOx" alt=""><figcaption></figcaption></figure></div>
2. Under **Anthropic**, click **Connect Now**. <br>

   <div align="left"><figure><img src="/files/JjkYTZKWXQNkaXhubhz6" alt=""><figcaption></figcaption></figure></div>
3. Enter the **Cost Center Name**.&#x20;
4. Enter the **API key** created and click **Next**.\
   **Result:** Finout validates the key to confirm permissions, and assuming it is valid, the Cost is now created. You will receive an email notification once Finout has retrieved your data and set up the current cost center.

### Anthropic Enterprise data (Beta)

{% hint style="info" %}
**Beta.** This part of the integration is currently in Beta. To enable it for your account, contact your Finout customer success manager or email <support@finout.io>.&#x20;
{% endhint %}

In addition to API platform spend, Finout can now ingest cost and usage data from Anthropic Enterprise accounts, with full coverage of Claude chat, Claude Code, Cowork, and Office Agents. Once connected, you can drill down into your Anthropic spend by model, user, product, and token type, alongside the rest of your AI and cloud spend in MegaBill.

#### Limitations

* **Enterprise plans only.** Available exclusively for Anthropic Enterprise accounts. Pro and Team plans are not supported.
* **Historical data starts January 1, 2026.** Anthropic does not expose usage data from earlier dates through this API.
* **Seat-based Enterprise plans:** the API only reflects spend that exceeds your included usage allotment. Usage-based Enterprise plans are covered in full.

#### Set up the integration

{% hint style="success" %}
**Prerequisite:** You must be a Primary Owner on your Anthropic Enterprise account.&#x20;
{% endhint %}

#### Step 1: **Generate an Analytics API key in Anthropic**

1. In Claude.ai, navigate to **Analytics > API keys**.
2. Find the **Access** toggle under **Analytics API** and turn it on.
3. Click **+ Create key** to generate a new key.
4. Copy the key immediately and store it securely. The key will not be shown again.

#### **Step 2: Share the key with Finout via the Credentials Vault**

Send the key to Finout securely using the [Credentials Vault](https://claude.ai/custom-cost-sources/credentials-vault), then contact Finout support at <support@finout.io> with clear instructions on what actions you'd like them to take with the provided information.

Once the integration is live, your Anthropic Enterprise data appears in MegaBill alongside your existing API platform spend.

#### Understanding the Anthropic Origin dimension

Once both surfaces are connected, every Anthropic data row in MegaBill carries an **Anthropic Origin** dimension, which identifies which Anthropic surface the row came from. Use this dimension to filter, group, or allocate Anthropic spend by surface.

Two values are possible:

* **Claude Platform** — applied to all rows ingested from the Admin API (`api.anthropic.com`).
* **claude.ai** — applied to all rows ingested from the Enterprise Analytics API (chat, Claude Code, Cowork, Office Agents, and Claude in Chrome).

Some Finout fields apply only to one Origin. For example, **Workspace** and **API Key** are Claude Platform concepts and appear empty on claude.ai rows; **User** and **Product** are claude.ai concepts and appear empty on Claude Platform rows. Filtering by Anthropic Origin keeps these dimensions meaningful when you build reports that focus on one surface.

## FAQs

**Does Finout keep track of historical changes to the Anthropic Workspace name?**\
Finout does not automatically track historical changes to Anthropic Workspace names; rather, it identifies Workspaces by their Workspace ID, which is unique and immutable. Workspace names are displayed based on the **current value available when data is ingested or when a historical run is executed**. As a result, when a Workspace name changes, Finout shows the new name from that point  forward. Existing historical data is **not automatically updated**.

**Is usage data available for Anthropic?**

Yes, usage data for Anthropic is available in Finout. To view it, go to Usage, apply Filters as needed, and use Group By to break down Anthropic usage data . This allows you to analyze usage alongside cost for deeper visibility into consumption patterns.<br>

<figure><img src="/files/62RxeilodeWtGaNQDPAR" alt=""><figcaption></figcaption></figure>

**The cost I see in Finout is different from what I see in Anthropic. Why?**

The most common cause is that some Anthropic charges are billed at the organization level rather than per user, and are not exposed through the Anthropic Admin API or the Enterprise Analytics API. These charges appear on your Anthropic invoice and in the CSV reports you can export from the claude.ai console. Examples include Claude Code Review, Claude Security, Claude Design and flat per-seat fees on seat-based Enterprise plans, since the API only exposes usage that exceeds your included allotment.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finout.io/billing-integrations/ai-providers/connect-to-anthropic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
