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

# Amazon Bedrock

> Run workflow steps and Miraxa on Claude, Llama, Nova, Mistral and other models from your own AWS account.

Add your Amazon Bedrock account to run workflow steps and Miraxa on the models it offers, billed to your AWS account. See [Your own AI providers](https://docs.spojit.com/ai-providers/overview.md) for how providers work.

> [!NOTE]
>
> Spojit connects to Bedrock with a Bedrock API key. Use a **long-term** key: a short-term key lasts 12 hours at most, so it stops working soon after you save it. AWS recommends long-term keys for trying Bedrock out; connecting through an IAM role in your account is coming later.

## Before you start

1. In the [Amazon Bedrock console](https://console.aws.amazon.com/bedrock/home), choose the region you want to use.
2. Make sure your account can use the models you want there. Some models need you to request access first, under **Model access**.

## Get an API key

1. In the Bedrock console, open **API keys** and choose **Long-term API keys**.
2. Generate a key, set when it expires, and copy it. It starts with `ABSK`.
3. Give the key's IAM user these permissions, for the models you want to use:
   * `bedrock:ListFoundationModels` and `bedrock:ListInferenceProfiles`, so Spojit can check the key and list your models;
   * `bedrock:InvokeModel` and `bedrock:InvokeModelWithResponseStream`, so workflow steps and Miraxa can call them;
   * for models sold through AWS Marketplace, `aws-marketplace:ViewSubscriptions` and `aws-marketplace:Subscribe`.

## Add it in Spojit

1. Open **Settings → AI providers** and select **Add provider**.
2. Choose **Amazon Bedrock**, give it a name, pick the **same region** as in the console, and paste the key.
3. Select **Add provider**.

## Choose models

**Add model** lists the models your account can call in that region, so you can pick one rather than type it. Newer models, Claude among them, are called through a cross-region inference profile, whose id starts with the geography: for example `us.anthropic.claude-sonnet-4-6`. Others take their model id, for example `amazon.nova-pro-v1:0`. Use these ids, not ARNs.

If a model's Test says "doesn't let this key do that", request access to the model in the Bedrock console, or add the missing permission from the list above to the key's IAM user, then test again.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.