Configuration

Create and copy your API key

Choose a plan on the pricing page, then open API Keys in your dashboard. Create an API key, select the AWSQ or CCMAX channel for Claude Code, and set its quota and expiration as needed. If you already have an API key, you can use it directly.

Use the copy button:

In every example below, fill in YOUR_DASHBOARD_API_KEY with the key you copied before saving the configuration or running the commands.

Configure required environment variables

AI in IDE needs four environment variables before the CLI or VS Code extension can talk to the proxy. Set them once, then restart your shell or editor so every new session picks them up.

macOS or Linux

Add the exports below to your shell profile (~/.zshrc for zsh, ~/.bashrc for bash):

1
export ANTHROPIC_BASE_URL="https://aiinide.com/api/anthropic"
2
export ANTHROPIC_AUTH_TOKEN="YOUR_DASHBOARD_API_KEY"
3
export API_TIMEOUT_MS=600000
4
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1

After saving the file, reload it with source ~/.zshrc.

Prefer to append commands manually? Run them one at a time (swap the path if you use bash):

1
echo 'export ANTHROPIC_BASE_URL="https://aiinide.com/api/anthropic"' >> ~/.zshrc
2
echo 'export ANTHROPIC_AUTH_TOKEN="YOUR_DASHBOARD_API_KEY"' >> ~/.zshrc
3
echo 'export API_TIMEOUT_MS=600000' >> ~/.zshrc
4
echo 'export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1' >> ~/.zshrc
5
 
6
source ~/.zshrc

Windows

You can define the same variables through whichever flow you prefer:

Option 1 · GUI (recommended for permanent setup)

  1. Press Win + R, type sysdm.cpl, press Enter.
  2. Open the Advanced tab → Environment Variables…
  3. Under User variables click New… and add each pair:
    • ANTHROPIC_BASE_URLhttps://aiinide.com/api/anthropic
    • ANTHROPIC_AUTH_TOKENYOUR_DASHBOARD_API_KEY
    • API_TIMEOUT_MS600000
    • CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC1
  4. Close the dialogs and restart your terminal or IDE.

Option 2 · Command Prompt (persists)

1
setx ANTHROPIC_BASE_URL "https://aiinide.com/api/anthropic"
2
setx ANTHROPIC_AUTH_TOKEN "YOUR_DASHBOARD_API_KEY"
3
setx API_TIMEOUT_MS "600000"
4
setx CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC "1"

Option 3 · PowerShell (persists)

1
[System.Environment]::SetEnvironmentVariable('ANTHROPIC_BASE_URL', 'https://aiinide.com/api/anthropic', 'User')
2
[System.Environment]::SetEnvironmentVariable('ANTHROPIC_AUTH_TOKEN', 'YOUR_DASHBOARD_API_KEY', 'User')
3
[System.Environment]::SetEnvironmentVariable('API_TIMEOUT_MS', '600000', 'User')
4
[System.Environment]::SetEnvironmentVariable('CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC', '1', 'User')

Option 4 · Command Prompt (temporary—current window only)

1
set ANTHROPIC_BASE_URL=https://aiinide.com/api/anthropic
2
set ANTHROPIC_AUTH_TOKEN=YOUR_DASHBOARD_API_KEY
3
set API_TIMEOUT_MS=600000
4
set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1

Start the AI in IDE coding environment

Run the CLI inside any project where you want to use AI coding assistance:

1
cd your-project
2
claude

You should see a confirmation screen similar to:

Prefer the VS Code (or other IDE) extension? Install a compatible extension and open the command palette. If the extension prompts for configuration like this:

your environment variables were not detected.

Double‑check the shell setup, or hard-code the configuration for the extension:

  • CLI settings file

    • macOS/Linux: ~/.claude/settings.json
    • Windows: C:/Users/<UserName>/.claude/settings.json

    Update it to include:

    1
    {
    2
      "env": {
    3
        "ANTHROPIC_AUTH_TOKEN": "YOUR_DASHBOARD_API_KEY",
    4
        "ANTHROPIC_BASE_URL": "https://aiinide.com/api/anthropic",
    5
        "API_TIMEOUT_MS": "600000",
    6
        "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
    7
      }
    8
    }
  • VS Code workspace/user settings – add the snippet below to settings.json:

    1
    "claudeCode.environmentVariables": [
    2
      { "name": "ANTHROPIC_BASE_URL", "value": "https://aiinide.com/api/anthropic" },
    3
      { "name": "ANTHROPIC_AUTH_TOKEN", "value": "YOUR_DASHBOARD_API_KEY" }
    4
    ],

After editing either file, restart VS Code (or reload the window) so it picks up the new values.

Configuration - AI in IDE Documentation | AI in IDE | Affordable AI Coding in Your IDE