> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-aws-bedrock-ai-integration/create-an-aws-connection-to-an-edge-or-collibra-cloud-site.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Create an AWS connection to a Collibra Cloud site

After you are [granted a Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md), you can create a connection to Amazon Web Services.

{% hint style="warning" %}
A separate connection is required for each AWS account. The integration reads Amazon Bedrock only in the AWS account behind the connection, and a top-level account is not enough to reach its member accounts. Create one connection per account, each using credentials for that specific account.
{% endhint %}

## Prerequisites

### In your Collibra environment

* You were granted a [Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md).
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Manage connections and capabilities** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Edge integration engineer**.
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Catalog** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Catalog Author**.

### In your Amazon Bedrock environment

#### For the AWS Bedrock AI connection role

You must have an AWS IAM role with the following permissions:

* Amazon Bedrock permissions:
  * `bedrock:ListFoundationModels`
  * `bedrock:ListImportedModels`
  * `bedrock:ListCustomModels`
  * `bedrock:GetCustomModel`
  * `bedrock:ListCustomModelDeployments`
  * `bedrock:GetCustomModelDeployment`
  * `bedrock:ListAgents`
  * `bedrock:GetAgent`
  * `bedrock:ListAgentActionGroups`
  * `bedrock:ListAgentAliases`
  * `bedrock:GetAgentAlias`
  * `bedrock:GetAgentVersion`
  * `bedrock:ListAgentKnowledgeBases`
  * `bedrock:GetKnowledgeBase`
  * `bedrock:GetModelInvocationLoggingConfiguration`
* Amazon CloudWatch permissions:
  * `cloudwatch:ListMetrics`
  * `cloudwatch:GetMetricData`
  * `cloudwatch:GetMetricStatistics`

This role only lists and reads model, agent, and CloudWatch metadata. It does not need permissions to invoke a model or an agent, retrieve from a knowledge base, or apply a guardrail. For more information about Amazon Bedrock permissions, go to [Amazon Bedrock documentation](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbedrock.html).

#### For the Bedrock agent execution role

If you sync AI agents, each Bedrock agent also has its own AWS IAM execution role that you set in AWS when you create the agent. This role is separate from the AWS IAM role you configured for the AWS Bedrock AI connection.

Amazon Bedrock uses the execution role to invoke the agent when your own application calls it. Grant the following permission:

* `cloudwatch:PutMetricData`, scoped to the `AWS/Bedrock/Agents` namespace. Without this permission, Amazon CloudWatch does not receive any metrics for the agent. Consequently, the AWS Bedrock AI integration cannot ingest any [metrics](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-aws-bedrock-ai-integration/integrated-aws-bedrock-ai-data.md).

This is the same execution role that your Bedrock agent already uses for its AWS Bedrock permissions (`InvokeModel`, `Retrieve`, `ApplyGuardrail`, and so on). You can add `cloudwatch:PutMetricData` to the existing set of permissions rather than creating a new role.

## Steps

{% stepper %}
{% step %}
Open the Integrations page.

1. On the main toolbar, click <i class="fa-grid-round">:grid-round:</i> → **Integrations**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Integrations** page opens.
2. Click **Add an integration**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Select Edge site** step opens.
3. In the **Edge site** list, select your Collibra Cloud site and click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Create connection** step opens.
   {% endstep %}

{% step %}
In the **Connection** list, select **AWS connection** to connect to Amazon S3.
{% endstep %}

{% step %}
Enter the required information.

| Field               | Description                                                                                                                                                                                             | Required                                                         |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| Name                | The name of the Collibra Cloud site AWS connection.                                                                                                                                                     | <i class="fa-check">:check:</i> Yes                              |
| Description         | The description of the connection.                                                                                                                                                                      | <i class="fa-xmark">:xmark:</i> No                               |
| Authentication type | <p>The type of authentication you use. The possible values are IAM and EC2.</p><p>Use type EC2 AWS if you want to connect to an AWS EC2 instance that is configured with role based authentication.</p> | <i class="fa-check">:check:</i> Yes                              |
| Access Key ID       | The access key ID of the programmatic AWS user.                                                                                                                                                         | <i class="fa-check">:check:</i> Yes for IAM authentication type. |
| Secret Access Key   | The secret access key of the programmatic AWS user.                                                                                                                                                     | <i class="fa-check">:check:</i> Yes for IAM authentication type. |
| {% endstep %}       |                                                                                                                                                                                                         |                                                                  |

{% step %}
Click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The connection is added to the Collibra Cloud site.
{% endstep %}
{% endstepper %}

## What's next

You can now [add the AWS Bedrock AI capability to a Collibra Cloud site](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-aws-bedrock-ai-integration/add-the-aws-bedrock-ai-capability.md).
