Search the documentation
17 pages for claude_code_use_bedrock.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Track cost and usage
Claude Code CLI · in the page
agent-sdk/cost-tracking
…s 1-hour TTL for an agent running on Amazon Bedrock. Because it sets `CLAUDE_CODE_USE_BEDROCK`, it requires working AWS credentials for [Amazon Bedrock](/docs/en/amazon-bedrock); without them the quer…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…cation via third-party API providers: * **Amazon Bedrock**: set `CLAUDE_CODE_USE_BEDROCK=1` environment variable and configure AWS credentials * **Claude Platform on AWS**: set `CLAUDE_CODE_U…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…round sessions in that directory. Cloud provider selection, such as `CLAUDE_CODE_USE_BEDROCK` or `CLAUDE_CODE_USE_VERTEX`, and `ANTHROPIC_DEFAULT_*_MODEL` aliases follow the shell that dispatched the…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…chat prompt instead, run `/setup-bedrock` to open the wizard. Until `CLAUDE_CODE_USE_BEDROCK=1` is set, Claude Code [hides the command from the command menu](/docs/en/commands#how-the-command-menu-ma…
Authentication
Claude Code CLI · in the page
authentication
…Code chooses one in this order: 1. Cloud provider credentials, when `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX`, or `CLAUDE_CODE_USE_FOUNDRY` is set. See [third-party integrations](/docs/en/t…
Claude Code changelog
Claude Code CLI · in the page
changelog
…points at a non-Anthropic host, matching the existing behavior under `CLAUDE_CODE_USE_BEDROCK`/`_VERTEX`/`_FOUNDRY` * Changed opening the agents view from a foreground session to require a single `←…
Use Claude Code on the web
Claude Code CLI · in the page
claude-code-on-the-web
…AI`. Remove that provider's configuration, for example by unsetting `CLAUDE_CODE_USE_BEDROCK`, and sign in with an Anthropic account (`claude auth login`). | | `Cloud sessions are disabled by your or…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…and Microsoft Foundry take precedence in provider routing, so unset `CLAUDE_CODE_USE_BEDROCK` and `CLAUDE_CODE_USE_FOUNDRY` if they're set. ### 3. Pin model versions Claude Platform on AWS uses the…
Commands
Claude Code CLI · in the page
commands
…the command menu](#how-the-command-menu-matches-what-you-type) until `CLAUDE_CODE_USE_BEDROCK=1` is set; type it in full. First-time Amazon Bedrock users can also access this wizard from the login scr…
Data usage
Claude Code CLI · in the page
data-usage
…TEX` must be 1. | Default off.<br />`CLAUDE_CODE_USE_BEDROCK` must be 1. | Default off.<br />`CLAUDE_CODE_USE_FOUNDRY` must be 1.…
Error reference
Claude Code CLI · in the page
errors
…te Control is only available when using Claude via api.anthropic.com. CLAUDE_CODE_USE_BEDROCK is set, so this session is using Amazon Bedrock — unset it (or run in a shell without it) to use Remote Co…
Feature availability
Claude Code CLI · in the page
feature-availability
…you use Claude models from the Amazon Bedrock model catalog and set `CLAUDE_CODE_USE_BEDROCK`. The [Mantle endpoint](/docs/en/amazon-bedrock#use-the-mantle-endpoint) (`CLAUDE_CODE_USE_MANTLE`) is cov…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…p__gitlab" --debug variables: AWS_REGION: "us-west-2" CLAUDE_CODE_USE_BEDROCK: "1" ``` <Note> Model IDs for Amazon Bedrock include region-specific prefixes (for example, `us.anthrop…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…ple.com/bedrock export CLAUDE_CODE_SKIP_BEDROCK_AUTH=1 export CLAUDE_CODE_USE_BEDROCK=1 ``` </Tab> <Tab title="PowerShell"> ```powershell theme={null} $env:ANTHROPIC_BEDROCK_B…
Gateway protocol reference
Claude Code CLI · in the page
llm-gateway-protocol
…edrock InvokeModel | `ANTHROPIC_BEDROCK_BASE_URL` with `CLAUDE_CODE_USE_BEDROCK=1` | `/model/{model}/invoke`, `/model/{model}/invoke-with-response-stream`, `/model/{model}/count-tokens`…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…e names what routed the session away from the Anthropic API, such as `CLAUDE_CODE_USE_BEDROCK` or a custom `ANTHROPIC_BASE_URL`. If you have an eligible claude.ai login, unset the named variable, remo…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…uding `ANTHROPIC_BASE_URL`, the provider selection variables such as `CLAUDE_CODE_USE_BEDROCK` and `CLAUDE_CODE_USE_VERTEX`, and the provider endpoint URLs such as `ANTHROPIC_BEDROCK_BASE_URL` * Authe…