Answer: Set the environment variables CLAUDE_CODE_USE_ANTHROPIC_AWS=1, ANTHROPIC_AWS_WORKSPACE_ID (required, your workspace ID), and AWS_REGION to route Claude Code through Claude Platform on AWS, and unset CLAUDE_CODE_USE_BEDROCK and CLAUDE_CODE_USE_FOUNDRY if set. Status: Confirmed Entry: tool/claude-code/install-and-setup/configure-claude-platform-aws Revision: 1 Digest: sha256:41a41c8c5e4279fd (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:34Z Last changed: 2026-11-13T03:03:34Z Last verified: 2026-11-20T12:18:58Z Next check: 2026-11-21T12:18:58Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of enable variable | CLAUDE_CODE_USE_ANTHROPIC_AWS=1 | [1] | 2026-11-20 workspace ID variable | ANTHROPIC_AWS_WORKSPACE_ID=wrkspc_01ABCDEFGHIJKLMN | [1] | 2026-11-20 region variable | AWS_REGION=us-east-1 | [1] | 2026-11-20 base URL pattern | https://aws-external-anthropic.{region}.api.aws | [1] | 2026-11-20 base URL override variable | ANTHROPIC_AWS_BASE_URL | [1] | 2026-11-20 variables to unset | CLAUDE_CODE_USE_BEDROCK | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code on Claude Platform on AWS". https://code.claude.com/docs/en/claude-platform-on-aws.md Role: primary. Accessed: 2026-11-20T12:18:58Z Quote: "export CLAUDE_CODE_USE_ANTHROPIC_AWS=1" (Supports: enable variable) Quote: "export ANTHROPIC_AWS_WORKSPACE_ID=wrkspc_01ABCDEFGHIJKLMN" (Supports: workspace ID variable) Quote: "export AWS_REGION=us-east-1" (Supports: region variable) Quote: "Claude Code computes the base URL as `https://aws-external-anthropic.{region}.api.aws` from the AWS region" (Supports: base URL pattern) Quote: "To override the URL directly, set `ANTHROPIC_AWS_BASE_URL`." (Supports: base URL override variable) Quote: "unset `CLAUDE_CODE_USE_BEDROCK` and `CLAUDE_CODE_USE_FOUNDRY` if they're set" (Supports: variables to unset) Published: 2026-11-20T10:36:06Z Snapshot SHA-256: 69a072a212cf41756ca453651124dc9858559b5b71ddef67e441f6376866862f (captured 2026-11-19T12:14:42Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:03:34Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:18:58Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:18:58Z Last attempt: 2026-11-20T12:18:58Z Notes and limitations: Extracted automatically from a single official source (section "2. Configure Claude Code"). Related: https://latestn.com/tool/claude-code/install-and-setup/enable-installed-plugin How do I enable an installed Claude Code plugin in my session? https://latestn.com/tool/claude-code/install-and-setup/google-cloud-anthropic-managed-prerequisites What are the prerequisites for using Claude Code with Claude Models on Google Cloud (Anthropic managed)? https://latestn.com/tool/claude-code/install-and-setup/install-agent-sdk How do I install the Claude Code Agent SDK for TypeScript or Python? https://latestn.com/tool/claude-code/install-and-setup/chrome-prerequisites What are the prerequisites for using Claude Code with Chrome? https://latestn.com/tool/claude-code/install-and-setup/configure-aws-credentials How do I configure AWS credentials for Claude Code on Amazon Bedrock? https://latestn.com/tool/claude-code/install-and-setup/configure-claude-code-for-foundry How do I configure Claude Code to use Microsoft Foundry? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:03:34Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/install-and-setup/configure-claude-platform-aws/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/install-and-setup/configure-claude-platform-aws POST: https://latestn.com/dispute/tool/claude-code/install-and-setup/configure-claude-platform-aws with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/install-and-setup/configure-claude-platform-aws?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure Claude Code to use Claude Platform on AWS? Revision 1, last verified 2026-11-20T12:18:58Z. https://latestn.com/tool/claude-code/install-and-setup/configure-claude-platform-aws (accessed 2026-11-21T10:01:37Z). @misc{LatestN_tool_claude_code_install_and_setup_configure_claude_platform_aws_r1, title = {How do I configure Claude Code to use Claude Platform on AWS?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/install-and-setup/configure-claude-platform-aws}}, note = {Revision 1; digest sha256:41a41c8c5e4279fd; last verified 2026-11-20T12:18:58Z; accessed 2026-11-21T10:01:37Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/install-and-setup/configure-claude-platform-aws