Claude Code

Connect Claude Code to Essevin with one-click setup or environment variables.

Claude Code is Anthropic's official CLI. The console's one-click setup installs and configures it with one command. You can also set the environment variables manually.

MethodBest forWhat it does
One-click setup (recommended)First-time setupInstalls Claude Code, backs up existing settings, configures the key, and verifies the connection
CC SwitchGraphical setup or multiple providersImports and switches Claude Code provider configurations
Manual setupExisting environment-management workflowsSets the Base URL and key environment variables directly

No environment-variable knowledge is required. Windows, macOS, and Linux are supported.

Find the one-click button

Sign in to the console, open Key Management, and select One-click integration beside the key.

Copy the command for your system

Select Claude Code, choose macOS / Linux or Windows PowerShell, then copy the command.

Paste it into a terminal and press Enter

On macOS, open Terminal. On Windows, open PowerShell. The script installs Claude Code if needed, backs up existing configuration, writes the Essevin settings, and verifies the connection.

Start Claude Code

After setup succeeds, open a new terminal window and run claude.

The command contains a single-use integration token that expires after 15 minutes, not the API key itself.

Desktop setup with CC Switch

The CC Switch guide covers macOS and Windows installation, importing Claude Code or Codex CLI from the Essevin console, switching providers,-5.2 local routing.

Manual setup

Temporary settings apply only to the current terminal window:

export ANTHROPIC_BASE_URL=https://api.essevin.com
export ANTHROPIC_AUTH_TOKEN=sk-your-key

claude

Persistent settings belong in your shell startup file:

# zsh (the macOS default)
echo 'export ANTHROPIC_BASE_URL=https://api.essevin.com' >> ~/.zshrc
echo 'export ANTHROPIC_AUTH_TOKEN=sk-your-key' >> ~/.zshrc
source ~/.zshrc

# bash (common on Linux; use this instead of the zsh block)
echo 'export ANTHROPIC_BASE_URL=https://api.essevin.com' >> ~/.bashrc
echo 'export ANTHROPIC_AUTH_TOKEN=sk-your-key' >> ~/.bashrc
source ~/.bashrc

Use a Claude plan key from a Claude Max, Claude Kiro, or AWS Bedrock group. Claude Code requests are routed through Essevin and itemized in console usage. See Troubleshooting when setup fails.

On this page