619 pages for anthropic_api_key.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…[credentials in the environment](/docs/en/authentication.md) such as `ANTHROPIC_API_KEY` or your cloud provider's variables. * **Trust**: without `--trust-plugin`, a job whose checkout directory Claud…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…CP `headersHelper`](/docs/en/mcp#which-variables-a-helper-can-read). `ANTHROPIC_API_KEY` and `MY_REGISTRY_TOKEN` are both removed, so have the command read its credential from a file or a credential s…
Quickstart
Claude Code CLI · in the page
quickstart
…rompts to complete authentication in your browser. If you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it, Claude Code skips the log…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…de.ai subscription auth.` followed by the credential in use, such as `ANTHROPIC_API_KEY is set, so this session is using API-key auth`. An `apiKeyHelper` setting and `ANTHROPIC_AUTH_TOKEN` are named t…
Automate work with scheduled tasks
Claude Code CLI · in the page
routines
…cloud-provider login, you still see `Unknown command: /schedule`. If `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` is set in your shell, or `apiKeyHelper` is set in `settings.json`, remove it first, s…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…s `ANTHROPIC_BEDROCK_BASE_URL` * Authentication credentials, such as `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, and `CLAUDE_CODE_OAUTH_TOKEN` * The configuration-directory selector `CLAUDE_CONFIG_DI…
Advanced setup
Claude Code CLI · in the page
setup
…unning `claude` and following the browser prompts. If you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code asks whether to use it, Claude Code skips the log…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…has been disabled"` despite having an active Claude subscription, an `ANTHROPIC_API_KEY` environment variable is overriding your subscription. This commonly happens when an old API key from a previous…
Voice dictation
Claude Code CLI · in the page
voice-dictation
…r active sign-in. If you aren't signed in with one, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a [third-party provider](#requirements) is in use, it ta…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…the Command Palette with **Developer: Reload Window**. If you have `ANTHROPIC_API_KEY` set in your shell but still see the sign-in prompt, VS Code may not have inherited your shell environment. Laun…
Week 20 · May 11–15, 2026
Claude Code CLI · in the page
whats-new/2026-w20
…i MCP connectors, and notification preferences are now disabled when `ANTHROPIC_API_KEY`, `apiKeyHelper`, or `ANTHROPIC_AUTH_TOKEN` is set, even alongside a claude.ai login; unset the API key to use t…
Connect Claude Code to Claude for Government
Claude Documentation · in the page
government/deploy-claude-code/configure
…sign-in on this machine` | A credential from earlier use is present: `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` in the environment, an `apiKeyHelper` in the user's settings, or a saved Claude Conso…
Use Claude for M365 with third-party platforms
Claude Documentation · in the page
office-agents/third-party-platforms
…itellm_params: model: claude-opus-4-7 api_key: os.environ/ANTHROPIC_API_KEY litellm_settings: drop_params: true ``` ### Route to Amazon Bedrock Use this `config.yaml` to route request…
Build an MCP client
Model Context Protocol · in the page
docs/2024-11-05/develop/build-client
…keys). Create a `.env` file to store it: ```bash theme={null} echo "ANTHROPIC_API_KEY=your-api-key-goes-here" > .env ``` Add `.env` to your `.gitignore`: ```bash theme={null} echo ".env" >> .gitig…
Build an MCP client
Model Context Protocol · in the page
docs/2025-03-26/develop/build-client
…keys). Create a `.env` file to store it: ```bash theme={null} echo "ANTHROPIC_API_KEY=your-api-key-goes-here" > .env ``` Add `.env` to your `.gitignore`: ```bash theme={null} echo ".env" >> .gitig…
Build an MCP client
Model Context Protocol · in the page
docs/2025-06-18/develop/build-client
…keys). Create a `.env` file to store it: ```bash theme={null} echo "ANTHROPIC_API_KEY=your-api-key-goes-here" > .env ``` Add `.env` to your `.gitignore`: ```bash theme={null} echo ".env" >> .gitig…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
…keys). Create a `.env` file to store it: ```bash theme={null} echo "ANTHROPIC_API_KEY=your-api-key-goes-here" > .env ``` Add `.env` to your `.gitignore`: ```bash theme={null} echo ".env" >> .gitig…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…keys). Create a `.env` file to store it: ```bash theme={null} echo "ANTHROPIC_API_KEY=your-api-key-goes-here" > .env ``` Add `.env` to your `.gitignore`: ```bash theme={null} echo ".env" >> .gitig…
Build an MCP client
Model Context Protocol · in the page
docs/draft/develop/build-client
…keys). Create a `.env` file to store it: ```bash theme={null} echo "ANTHROPIC_API_KEY=your-api-key-goes-here" > .env ``` Add `.env` to your `.gitignore`: ```bash theme={null} echo ".env" >> .gitig…