Skip to content

TIP

Choose your AI coding tool to view the corresponding setup guide.

Claude Code CLI

Install Extension

  1. Open VSCode, press Ctrl+Shift+X / Cmd+Shift+X
  2. Search for "Claude Code for VS Code"
  3. Install the official extension by Anthropic

Configure bsf.ai Gateway

Edit ~/.claude/config.jsonWindows: C:\Users\YourUsername\.claude\config.jsonMac: ~/.claude/settings.json

json
{
"env": {
   "ANTHROPIC_AUTH_TOKEN": "Replace with your bsf.ai API key",
   "ANTHROPIC_BASE_URL": "https://api.bsf.ai",
   "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1
 },
 "permissions": {
   "allow": [],
   "deny": []
 }
}

Best Practices

  • Start from project root - Let Claude Code read project files for more accurate suggestions
  • Use /help command - View all available slash commands and features
  • Use /clear command - Clear context and start a new conversation (reduces token usage)
  • Use @file references - Use @filename in conversations to quickly reference project files
  • Back up important files - Claude Code can modify files directly; use Git for version control before operations