[DOCS]

Resolved 💬 4 comments Opened Feb 5, 2026 by nkuehnle Closed Mar 6, 2026

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/vs-code#use-third-party-providers

Section/Topic

Claude Code login returns no search results; no way to specify custom API endpoint/API key

Current Documentation

Use third-party providers
By default, Claude Code connects directly to Anthropic’s API. If your organization uses Amazon Bedrock, Google Vertex AI, or Microsoft Foundry to access Claude, configure the extension to use your provider instead:

1) Disable login prompt

Open the [Disable Login Prompt setting](vscode://settings/claudeCode.disableLoginPrompt) and check the box.
You can also open VS Code settings (Cmd+, on Mac or Ctrl+, on Windows/Linux), search for “Claude Code login”, and check Disable Login Prompt.

2) Configure your provider

Follow the setup guide for your provider:
Claude Code on Amazon Bedrock
Claude Code on Google Vertex AI
Claude Code on Microsoft Foundry
These guides cover configuring your provider in ~/.claude/settings.json, which ensures your settings are shared between the VS Code extension and the CLI.

What's Wrong or Missing?

My organization currently only supports these instructions for using Claude code in terminals.

export ANTHOPIC_BASE_URL=xxxxxxxx
export ANTHOPIC_API_KEY=xxxxxxxx
export DISABLE_TELEMETRY=1

I can't quite seem to find an equivalent way to use the VSCode extension. Usage in the terminal doesn't play nicely with virtualized environments in VSCode unless claude code is installed in every environment/project that I use.

Suggested Improvement

1) Minimally correct this section to be accurate to the most recent VSCode and claude code releases:

1) Disable login prompt

Open the [Disable Login Prompt setting](vscode://settings/claudeCode.disableLoginPrompt) and check the box.
You can also open VS Code settings (Cmd+, on Mac or Ctrl+, on Windows/Linux), search for “Claude Code login”, and check Disable Login Prompt.

2) Please provide instructions on how to use a different ANTHOPIC_BASE_URL / ANTHROPIC_API_KEY if resolving step 2 isn't sufficient.

Impact

High - Prevents users from using a feature

Additional Context

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗