diff --git a/docs/ai-coder/ai-bridge/client-config.md b/docs/ai-coder/ai-bridge/client-config.md index dbbb72cada..b09ee89707 100644 --- a/docs/ai-coder/ai-bridge/client-config.md +++ b/docs/ai-coder/ai-bridge/client-config.md @@ -15,10 +15,14 @@ Replace `coder.example.com` with your actual Coder deployment URL. ## Authentication -Instead of distributing provider-specific API keys (OpenAI/Anthropic keys) to users, they authenticate to AI Bridge using their **Coder session token** or **API key**: +Instead of distributing provider-specific API keys (OpenAI/Anthropic keys) to users, they authenticate to AI Bridge using their **Coder session token** or **Coder API key**: -- **OpenAI clients**: Users set `OPENAI_API_KEY` to their Coder session token or API key -- **Anthropic clients**: Users set `ANTHROPIC_API_KEY` to their Coder session token or API key +- **OpenAI clients**: Users set `OPENAI_API_KEY` to their Coder session token or Coder API key +- **Anthropic clients**: Users set `ANTHROPIC_API_KEY` to their Coder session token or Coder API key + +> [!NOTE] +> Only Coder-issued tokens are accepted at this time. +> Provider-specific API keys (such as OpenAI or Anthropic keys) will not work with AI Bridge. Again, the exact environment variable or setting naming may differ from tool to tool; consult your tool's documentation.