> ## Documentation Index
> Fetch the complete documentation index at: https://llm-tools.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic

To use Anthropic's Claude models, you will need to get an API Key from Anthropic.
You can do this from their [console](https://console.anthropic.com/settings/keys). Once you obtain a key, set it in the environment variable, like so -

```bash theme={null}
ANTHROPIC_API_KEY="<Your key>"
```

## Install Anthtopic addon

```bash theme={null}
npm install @llm-tools/embedjs-anthropic
```

## Usage

```ts theme={null}
import { RAGApplicationBuilder } from '@llm-tools/embedjs';
import { Anthropic } from '@llm-tools/embedjs-anthropic';

const app = await new RAGApplicationBuilder()
.setModel(new Anthropic({ modelName: "..." }))
```
