> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipeshub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Bedrock

> Configure PipesHub to use Amazon Bedrock embedding models

# Amazon Bedrock Embeddings Configuration

<img src="https://mintcdn.com/pipeshub/xDYTCu7XyGABzJ1N/images/ai-models/embedding/Bedrock_EmbeddingConfig.png?fit=max&auto=format&n=xDYTCu7XyGABzJ1N&q=85&s=01062b6b26fbaf9c8a4d13111214ee43" alt="Amazon Bedrock Embeddings Configuration Interface" width="595" height="1169" data-path="images/ai-models/embedding/Bedrock_EmbeddingConfig.png" />

*The Amazon Bedrock embeddings configuration screen in PipesHub where you'll enter your AWS Region, Model Name, and Provider*

PipesHub allows you to integrate with Amazon Bedrock's foundation embedding models to enable vector search, semantic similarity, and document retrieval in your workspace. AWS Bedrock provides access to embedding models from leading AI providers including Cohere and Amazon.

## Required Fields

### Region \*

The AWS Region where your Bedrock service is deployed.

**Example:** `us-east-1`

**Common regions with Bedrock availability:**

* `us-east-1` (N. Virginia)
* `us-west-2` (Oregon)
* `eu-west-1` (Ireland)
* `ap-northeast-1` (Tokyo)

**How to choose a region:**

* Select a region close to your users for lower latency
* Ensure the embedding models you need are available in that region
* Consider data residency requirements for your organisation

### Model Name \*

The Model Name field specifies the model ID you want to use with PipesHub.

**Available Amazon Bedrock embedding models:**

* `cohere2.embed-multilingual-v3` - Cohere's multilingual embedding model, supports 100+ languages

**How to find model IDs:**

1. Go to the [AWS Bedrock Console](https://console.aws.amazon.com/bedrock/)
2. Navigate to "Model access" to see available models
3. Select "Base models" to view model IDs
4. Use the model ID exactly as shown in the console

### Provider \*

Select the provider of the embedding model you are using. This helps PipesHub properly format requests for the specific model.

**Available providers:**

* **Cohere** - Cohere embedding models
* **Amazon (Titan)** - Amazon's Titan embedding models
* **Other** - For any other providers (requires Custom Provider Name)

## Optional Fields

### AWS Access Key ID

The AWS Access Key ID for authenticating requests to AWS Bedrock.

**Example format:** `AKIAIOSFODNN7EXAMPLE`

**Note:** If PipesHub is running on an EC2 instance with an appropriate IAM role attached, you can leave this field blank.

### AWS Secret Access Key

The secret portion of your AWS credentials.

**Note:** Leave blank if using EC2 IAM role authentication.

**Security Note:** Your secret key should be kept secure and never shared publicly. PipesHub securely stores your credentials.

## Configuration Steps

As shown in the image above:

1. Click **Configure** on the Amazon Bedrock provider card
2. Specify your AWS Region (marked with \*)
3. Enter the Model Name (model ID) (marked with \*)
4. Select the appropriate Provider from the dropdown (marked with \*)
5. (Optional) Enter your AWS Access Key ID — leave blank if using an EC2 IAM role
6. (Optional) Enter your AWS Secret Access Key — leave blank if using an EC2 IAM role
7. Click **Add Model** to save and validate your credentials

> Region, Model Name, and Provider are required fields. AWS Access Key ID and Secret Key are optional when running PipesHub on EC2 with an appropriate IAM role.

## IAM Permissions

Ensure your IAM user or role has the following permissions to use AWS Bedrock embedding models:

```json theme={null}
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "bedrock:InvokeModel",
        "bedrock:InvokeModelWithResponseStream"
      ],
      "Resource": "*"
    }
  ]
}
```

## Usage Considerations

* API usage will count against your AWS Bedrock quotas and billing
* Different models have different pricing — check [AWS Bedrock pricing](https://aws.amazon.com/bedrock/pricing/) for details
* AWS Bedrock provides enterprise features including VPC endpoints, CloudTrail auditing, and data encryption

## Troubleshooting

* If you encounter authentication errors, verify your AWS Access Key ID and Secret Key are correct
* Ensure your IAM user or role has the necessary Bedrock permissions
* Verify the selected region has AWS Bedrock available and your desired model is accessible
* Check that you have model access enabled for the specific model in the AWS Bedrock console
* Ensure the model ID is correctly formatted as shown in the Bedrock console

For additional support, refer to the [AWS Bedrock documentation](https://docs.aws.amazon.com/bedrock/) or contact PipesHub support.
