bedrock-claude-code-setup

Configure AWS Bedrock authentication for Claude Code in Replit environments.

1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/williamsforeal/Cyclone-SS --skill bedrock-claude-code-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bedrock-claude-code-setup
Source: https://github.com/williamsforeal/Cyclone-SS/tree/main/.cursor/skills/bedrock-claude-code-setup
Command: npx skills add https://github.com/williamsforeal/Cyclone-SS --skill bedrock-claude-code-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Setting up AWS Bedrock authentication for Claude Code in Replit can be confusing, especially when you need the right environment variables, region, and credentials method without relying on local AWS CLI configuration.

Core Features & Use Cases

  • Bedrock API key setup for Replit: Configure AWS_BEARER_TOKEN_BEDROCK, CLAUDE_CODE_USE_BEDROCK, and AWS_REGION using Replit Secrets, which is the recommended approach in Replit environments.
  • Alternative AWS credential methods: Support AWS access keys via AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY (and optional AWS_SESSION_TOKEN) when API keys are not available.
  • Model and region customization: Override inference targets using optional ANTHROPIC_MODEL and ANTHROPIC_SMALL_FAST_MODEL variables, plus ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION when needed.
  • Troubleshooting guidance: Diagnose common failures like missing environment variables, region/model availability errors, and prompt caching issues.

Quick Start

Add these three Replit Secrets—AWS_BEARER_TOKEN_BEDROCK, CLAUDE_CODE_USE_BEDROCK, and AWS_REGION—and then restart Claude Code.

Frequently Asked Questions about bedrock-claude-code-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up AWS Bedrock authentication for Claude Code in Replit?

To set up AWS Bedrock authentication for Claude Code in Replit, add Replit Secrets for AWS_BEARER_TOKEN_BEDROCK, CLAUDE_CODE_USE_BEDROCK, and AWS_REGION, then restart Claude Code to establish the inference connection.

Can I use AWS access keys instead of a Bedrock API key for Claude Code?

Yes, you can use AWS access keys for Claude Code instead of a Bedrock API key by configuring AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables, along with an optional AWS_SESSION_TOKEN if your credentials require it.

What environment variables are required to run Claude Code with AWS Bedrock?

Running Claude Code with AWS Bedrock requires setting CLAUDE_CODE_USE_BEDROCK to 1, providing AWS_REGION, and supplying either AWS_BEARER_TOKEN_BEDROCK or standard AWS access key environment variables for authentication.

How do I override the default Anthropic model in Claude Code Bedrock?

You can override the default Anthropic model in Claude Code Bedrock by setting the optional ANTHROPIC_MODEL and ANTHROPIC_SMALL_FAST_MODEL environment variables to specify your desired inference targets.

Why does Claude Code fail to connect to AWS Bedrock despite setting credentials?

Claude Code fails to connect to AWS Bedrock due to missing environment variables, incorrect AWS_REGION settings, region-specific model availability errors, or prompt caching issues that require troubleshooting your configuration.

Do I need the AWS CLI configured locally to use Bedrock with Claude Code?

No, you do not need the AWS CLI configured locally to use Bedrock with Claude Code, because you can authenticate directly using Replit Secrets or environment variables for your AWS credentials and region.