> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Plugin (VS Code)

> Claude Code for VS Code Plugin Installation Guide

## Step 1: Install Claude Code Plugin

1. Open VS Code, go to Extensions panel (Ctrl+Shift+X)
2. Search for "Claude Code for VS Code" by Anthropic
3. Click Install

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/XrkadTrCIIPrxSRP/images/integrations/claude-code-vscode.png?fit=max&auto=format&n=XrkadTrCIIPrxSRP&q=85&s=64d2d6d8e72e3b01363342dbfecf737b" alt="Claude Code VSCode Plugin" width="1268" height="587" data-path="images/integrations/claude-code-vscode.png" />
</Frame>

## Step 2: Configure settings.json

### Open Configuration

1. Click Settings icon (Ctrl+,), search "@ext:Anthropic.claude-code"
2. Find "Claude-code: Environment Variables", click "Edit in settings.json"

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/XrkadTrCIIPrxSRP/images/integrations/claude-code-vscode-settings.png?fit=max&auto=format&n=XrkadTrCIIPrxSRP&q=85&s=7382628d532b900c33cb3c5eab20118d" alt="Claude Code Settings" width="1920" height="1140" data-path="images/integrations/claude-code-vscode-settings.png" />
</Frame>

### Add Configuration

```jsonc theme={null}
{
  "claudeCode.preferredLocation": "panel",
  "claudeCode.allowDangerouslySkipPermissions": true,
  "claudeCode.selectedModel": "claude-sonnet-5",
  "claudeCode.environmentVariables": [
    {
      "name": "ANTHROPIC_BASE_URL",
      "value": "https://api.mixroute.ai"
    },
    {
      "name": "ANTHROPIC_AUTH_TOKEN",
      "value": "sk-xxxxx"
    }
  ]
}
```

## Configuration Options

| Option                         | Description                   |
| ------------------------------ | ----------------------------- |
| `claudeCode.preferredLocation` | `panel` (bottom) or `sidebar` |
| `claudeCode.selectedModel`     | Default model                 |
| `ANTHROPIC_BASE_URL`           | Mixroute Api URL              |
| `ANTHROPIC_AUTH_TOKEN`         | Your API key                  |

## Verify Configuration

1. Restart VS Code
2. Open Command Palette (Ctrl+Shift+P), type "Claude"
3. Select "Claude Code: Open Panel"
4. Test with a question
