Claude Code
Connect Claude Code to Flex247 through its Anthropic-compatible environment variables.
1. Install
Windows PowerShell
powershell
irm https://claude.ai/install.ps1 | iexmacOS / Linux
bash
curl -fsSL https://claude.ai/install.sh | bashVerify the installation:
bash
claude --version
claude doctor2. Temporary configuration
Windows PowerShell
powershell
$env:ANTHROPIC_AUTH_TOKEN = "sk-your-flex247-key"
$env:ANTHROPIC_BASE_URL = "https://api.noflex.work"
$env:CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = "1"
claudemacOS / Linux
bash
export ANTHROPIC_AUTH_TOKEN="sk-your-flex247-key"
export ANTHROPIC_BASE_URL="https://api.noflex.work"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC="1"
claude3. Persistent settings
Add the following to your Claude Code user settings:
json
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "sk-your-flex247-key",
"ANTHROPIC_BASE_URL": "https://api.noflex.work",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}Close and reopen the terminal or editor after saving.
4. Verify
Run claude, then ask it to reply only with Flex247 connected. Confirm the request in Flex247 Usage Logs.
VS Code and Cursor extensions
The extension uses the same environment variables. If the CLI works but the extension fails, fully exit the editor, reopen it and confirm that it reads the same user environment.
Permission safety
Do not enable unrestricted permission bypass by default. Adjust permission modes only for trusted projects or isolated environments.