Claude Code in Vertex, Bedrock
Last updated
Use Claude through your preferred cloud provider like Claude on Vertex AI (Google Cloud) or Amazon Bedrock
Open Settings > AI Providers > Claude Agent
Scroll to the Environment Variables section
Add the required variables for your provider:

For Google Vertex AI:
CLAUDE_CODE_USE_VERTEX
1
CLOUD_ML_REGION
global (or a specific region like us-east5)
ANTHROPIC_VERTEX_PROJECT_ID
Your GCP project ID
Prerequisites: Enable the Vertex AI API in your GCP project, request access to Claude models in the Model Garden, and authenticate via gcloud auth application-default login.
For Amazon Bedrock:
CLAUDE_CODE_USE_BEDROCK
1
AWS_REGION
us-east-1 (or your preferred region)
Prerequisites: Enable Bedrock access in your AWS account, request access to Claude models, and configure AWS credentials (via AWS CLI, environment variables, or SSO profile).
Use existing cloud credentials and billing
Meet enterprise compliance requirements
Choose the provider that fits your infrastructure
No separate Anthropic API key required
Last updated
