Claude Code
Configure Claude Code to connect through ApexOne.
Prerequisites
Section titled “Prerequisites”Before installing Claude Code, make sure the following are installed:
- Node.js 22 or later
- Git
Install Claude Code
Section titled “Install Claude Code”Install Claude Code globally:
npm install -g @anthropic-ai/claude-codeVerify the installation:
claude --versionIf a version number is displayed, Claude Code has been installed successfully.
Configure Claude Code
Section titled “Configure Claude Code”Claude Code stores its configuration in the .claude directory inside your user home folder.
Configuration location
Section titled “Configuration location”%USERPROFILE%\.claudeCreate the directory if it does not already exist:
mkdir %USERPROFILE%\.claude~/.claudeCreate the directory if it does not already exist:
mkdir -p ~/.claude~/.claudeCreate the directory if it does not already exist:
mkdir -p ~/.claudeCreate settings.json
Section titled “Create settings.json”Create or edit ~/.claude/settings.json:
{ "env": { "ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY", "ANTHROPIC_BASE_URL": "https://api.apex1.us", "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1" }}Configuration reference
Section titled “Configuration reference”| Variable | Description |
|---|---|
ANTHROPIC_AUTH_TOKEN |
Your ApexOne API key |
ANTHROPIC_BASE_URL |
The ApexOne API endpoint (https://api.apex1.us) |
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC |
Disables optional network traffic for better privacy |
Verify your setup
Section titled “Verify your setup”-
Launch Claude Code from any project directory:
Terminal window claude -
Open the status screen:
/statusConfirm that the ApexOne base URL (
https://api.apex1.us) is shown as the configured API endpoint. -
Send a simple message:
> hiA successful reply confirms your setup:
Hello! How can I help you today?
Troubleshooting
Section titled “Troubleshooting”Update Claude Code
Section titled “Update Claude Code”npm install -g @anthropic-ai/claude-code@latest