Skip to content

Amazon Bedrock

Amazon Bedrock is a fully managed AWS service that provides access to foundation models from leading AI companies through a unified API, so brands can build and scale generative AI applications on AWS.

About the integration

The Braze and Amazon Bedrock integration lets you connect your Amazon Bedrock credentials to Braze so you can use Bedrock-hosted models when building custom AI agents. With this integration, your agents can generate personalized copy, make real-time decisions, or update catalog fields using models available through Amazon Bedrock.

When you connect Amazon Bedrock, Braze shows a curated set of Bedrock models for custom agents. The models available in Braze may differ from the full catalog in your AWS account.

Prerequisites

Requirements Description
An AWS account with Amazon Bedrock access An AWS account with access to Amazon Bedrock in the AWS region where your models are hosted. For help, contact your admin or AWS Support.
Amazon Bedrock model access Access in your AWS account to the Bedrock models you plan to use. Some models, like those from Anthropic, require access to be granted on your AWS account. Not all models are available in every AWS region.
Authentication credentials Either a long-term Amazon Bedrock API key, or—when IAM role authentication is enabled for your workspace—an IAM role that Braze can assume.
Braze instance You can find your Braze instance on the API overview page or from your Braze onboarding manager.

Integration

To connect Amazon Bedrock to Braze:

  1. Go to Partner Integrations > Technology Partners in the Braze dashboard, then search for and select Amazon Bedrock.
  2. For Authentication method, choose API key or AWS IAM role (when available).
  3. Complete setup for your chosen method:
    • API key: Enter your long-term Amazon Bedrock API key. Select the AWS region where your Bedrock models are hosted. Select Save.
    • AWS IAM role: Use the values Braze displays to configure your IAM role trust policy, then enter the role details in Braze:
      1. Copy the Braze AWS account ID and trust that account in your IAM role’s trust policy.
      2. Copy the Braze external ID and require it in your role’s trust policy with an sts:ExternalId condition. Select Generate new external ID if you need a new value.
      3. Enter the AWS role ARN for the IAM role that has Amazon Bedrock permissions. The ARN must match arn:aws:iam::<account-id>:role/<role-name>.
      4. Select the AWS region where your Bedrock models are hosted.
      5. Select Save.

After you save, Braze displays a connected status with the date and time of the connection. You can select Amazon Bedrock models when creating a custom agent in the Agent Console.

To confirm the integration is working, go to the Agent Console and create a test agent using one of your Bedrock models. Enter an instruction such as “Tell me a joke,” and run a test invocation to verify the model responds as expected.

To remove the integration, select Disconnect on the Amazon Bedrock integration page.

For issues with your Amazon Bedrock account or credentials, contact AWS Support.

New Stuff!