18 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.md); without them the q…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…entication 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_USE_A…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…al does. It keeps that shell's cloud provider selection too, such as `CLAUDE_CODE_USE_BEDROCK` or `CLAUDE_CODE_USE_VERTEX`, along with its `ANTHROPIC_DEFAULT_*_MODEL` aliases and any [`CLAUDE_CODE_EXT…
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.md#how-the-command-menu…
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 apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…who select a cloud provider through an environment variable such as `CLAUDE_CODE_USE_BEDROCK` don't need the gateway sign-in. The login picker has no gateway option, and in managed settings `forceLo…
Use Claude Code in the cloud
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
…e. | Default off. `CLAUDE_CODE_USE_VERTEX` must be 1. | Default off. `CLAUDE_CODE_USE_BEDROCK` must be 1. | Default off. `CLAUDE_CODE_USE_FOUNDRY` must be 1. | Default off. `CLAUDE_CODE_USE_ANTHROPIC_…
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.md#use-the-mantle-endpoint) (`CLAUDE_CODE_USE_MANTLE`) is…
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.an…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…way.example.com/bedrock export CLAUDE_CODE_SKIP_BEDROCK_AUTH=1 export CLAUDE_CODE_USE_BEDROCK=1 ``` **PowerShell** ```powershell theme={null} $env:ANTHROPIC_BEDROCK_BASE_URL = "https://llm-gateway.e…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…s | | Amazon Bedrock 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…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…ock** Replace the region with your own: ```bash theme={null} export CLAUDE_CODE_USE_BEDROCK=1 export AWS_REGION=us-east-1 ``` For how Claude Code resolves the region, see [Configure Claude Code](/d…
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…