> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integration/anthropic-application-integration-setup.md).

# Anthropic Application Integration Setup

### Getting started

BalkanID recommends creating a separate service account for the purposes of this integration, instead of using personal or employee named accounts.

#### Requirements:

* ***Admin API Key***
* ***Organization API Key (Managed Agents)***

{% hint style="info" %}
The Anthropic Admin API is unavailable for individual Claude accounts. You must use an Anthropic **organization**. Only organization members with the **admin** role can create Admin API keys.
{% endhint %}

#### Create an Admin API Key

1. Login to the [Claude Console](https://platform.claude.com/) with an organization member who has the **admin** role.
2. Navigate to *Settings* > *Admin keys*.
3. Click the **Create key** button.
4. Provide a name for the key.
5. Copy the *key value* to your clipboard. Store it securely for future purposes. Admin API keys start with `sk-ant-admin`.

In addition to the Admin API Key above, ensure your Anthropic organization can expose API key inventory and usage data so BalkanID can discover [Anthropic Credentials](/getting-started/entitlement-data-discovery/credentials-discovery/anthropic-credentials.md).

#### Create an Organization API Key (Managed Agents)

The Organization API Key is required to discover managed agents and vault-backed credentials. If you do not need managed agent discovery, you can leave this field empty in BalkanID.

1. In the Claude Console, create an organization API key for your organization.
2. Copy the *key value* to your clipboard. Store it securely for future purposes.

In addition to the Organization API Key above, [Agents](/agents/introduction-to-agents.md) discovery must be enabled for your tenant (Early Access). For what BalkanID surfaces after sync, see [Anthropic: Agents](/agents/onboarding-agents/discovering-agents-from-integrations/anthropic-agents.md).

### Configure Anthropic within your BalkanID tenant

1. Login to the BalkanID application and switch to the tenant you would like to add your integration to.
2. Head to *Integrations* > **Add Integration**, select **Anthropic.**<br>

   <div align="center"><figure><img src="/files/LQm4Ln0NTvJqJMQNidfd" alt=""><figcaption></figcaption></figure></div>

   <figure><img src="/files/IueQl2kZW82O8ugimYhB" alt=""><figcaption></figcaption></figure>
3. Set up the *Primary Application owner (mandatory)* and the *Description*, if any. Set up Secondary Application Owner(s), if any.

   Select the Extraction Type. From here, you can configure your application using one of the following methods:

   1. **Direct integration** - Provide your Admin API Key and Organization API Key (Managed Agents) obtained above to set up a direct connection with BalkanID.

   <div align="center"><figure><img src="/files/1YC1rNyJ0xjohmkQEPFq" alt=""><figcaption></figcaption></figure></div>
4. Click on next to move onto *Optional Configuration.*
5. Fill **Optional configuration,** if required.<br>

   <figure><img src="/files/cmxiSGA0TPRpJTn9ETJJ" alt=""><figcaption></figcaption></figure>
6. Once you filled in the information, click **Save**. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the *Integrations* page. When data is available, the integration Status will read **Connected** and the integration Message will read **Data available**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integration/anthropic-application-integration-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
