# Claude Code in Vertex, Bedrock

#### AI Provider Expansion

Use Claude through your preferred cloud provider like Claude on Vertex AI (Google Cloud) or Amazon Bedrock

### **How to configure:**

1. Open **Settings > AI Providers > Claude Agent**
2. Scroll to the **Environment Variables** section
3. Add the required variables for your provider:

<figure><img src="/files/k5Rho05cgtse1AC2wSKs" alt=""><figcaption></figcaption></figure>

**For Google Vertex AI:**

| Variable                      | Value                                           |
| ----------------------------- | ----------------------------------------------- |
| `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:**

| Variable                  | Value                                  |
| ------------------------- | -------------------------------------- |
| `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).

### **Benefits:**

* Use existing cloud credentials and billing
* Meet enterprise compliance requirements
* Choose the provider that fits your infrastructure
* No separate Anthropic API key required


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nimbalyst.com/setup-nimbalyst/claude-code-in-vertex-bedrock.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
