docs/integrations/app-connections/anthropic.mdx
Infisical supports connecting to Anthropic using an API Key. This connection is used to power PAM AI Session Insights.

</Step>
<Step title="Name and create the key">
Give the key a descriptive name (e.g. `infisical-pam`) and click **Create Key**. Copy the generated API key, as it will only be shown once.

</Step>

</Step>
<Step title="Select Anthropic Connection">
Click **Add Connection** and choose **Anthropic** from the list of available connections.

</Step>
<Step title="Fill out Connection Form">
Complete the form with:
- A **name** for the connection (e.g. `anthropic-prod`)
- An optional **description**
- Your **Anthropic API Key** (from the steps above)

</Step>
<Step title="Connection Created">
After clicking **Create**, Infisical validates the key against the Anthropic API. Your **Anthropic Connection** is then ready to use for [PAM AI Session Insights](/documentation/platform/pam/product-reference/ai-session-insights).

</Step>
</Steps>
</Tab>
<Tab title="API">
Create an Anthropic connection via the API.
### Sample request
```bash Request
curl --request POST \
--url https://app.infisical.com/api/v1/app-connections/anthropic \
--header 'Content-Type: application/json' \
--data '{
"name": "my-anthropic-connection",
"method": "api-key",
"credentials": {
"apiKey": "<YOUR-ANTHROPIC-API-KEY>"
}
}'
```
### Sample response
```bash Response
{
"appConnection": {
"id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",
"name": "my-anthropic-connection",
"description": null,
"version": 1,
"orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",
"createdAt": "2025-04-23T19:46:34.831Z",
"updatedAt": "2025-04-23T19:46:34.831Z",
"isPlatformManagedCredentials": false,
"app": "anthropic",
"method": "api-key",
"credentials": {}
}
}
```
</Tab>