promptgarten ๐ŸŒฑ

Command reference ยท Claude Code

/setup-bedrock

Configures Amazon Bedrock authentication, region, and model pins via an interactive wizard.

/setup-bedrock opens an interactive wizard that sets up sign-in to Amazon Bedrock: it asks for the authentication method (a detected AWS profile, an Amazon Bedrock API key, access key/secret, or already-set environment variables), takes over your AWS region, and checks which Claude models your account is allowed to call so you can save them as fixed model pins. When run again, model selection starts from your currently pinned models. The wizard writes the result into the env block of your settings.json (~/.claude/settings.json or $CLAUDE_CONFIG_DIR/settings.json) โ€” so you no longer have to export environment variables by hand. The command only appears in the command menu once Bedrock is configured, but it already works if you type it beforehand, as long as CLAUDE_CODE_USE_BEDROCK=1 is set. First-time users can alternatively reach the same wizard directly via the login screen.

โœ… WHEN TO USE IT?

Team switches to Amazon Bedrock

With CLAUDE_CODE_USE_BEDROCK=1 set, run /setup-bedrock to interactively set up authentication, region, and model pins

Change credentials or model pins later

Call /setup-bedrock again to update credentials, region, or pinned model versions โ€” the selection starts from the existing pins

โ›” WHEN NOT TO?

Without the env var set, or with normal Anthropic usage

/setup-bedrock is meant for Amazon Bedrock sign-in and only appears in the menu once CLAUDE_CODE_USE_BEDROCK=1 is set; direct Anthropic account usage doesn't need the command.

Better: First set CLAUDE_CODE_USE_BEDROCK=1, or simply use /login for direct Anthropic API usage

SOURCES

MORE COMMANDS ยท Claude Code

/setup-vertex/simplify/skills/stats/status/statusline/stickers/tasks/teleport/upgrade/usage/verify

All commands ยท Claude Code โ†’

Share:๐•in๐Ÿ’ฌ