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
- In the Amazon Bedrock console, choose the region you want to use.
- 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
- In the Bedrock console, open API keys and choose Long-term API keys.
- Generate a key, set when it expires, and copy it. It starts with
ABSK. - Give the key’s IAM user these permissions, for the models you want to use:
bedrock:ListFoundationModelsandbedrock:ListInferenceProfiles, so Spojit can check the key and list your models;bedrock:InvokeModelandbedrock:InvokeModelWithResponseStream, so workflow steps and Miraxa can call them;- for models sold through AWS Marketplace,
aws-marketplace:ViewSubscriptionsandaws-marketplace:Subscribe.
Add it in Spojit
- Open Settings → AI providers and select Add provider.
- Choose Amazon Bedrock, give it a name, pick the same region as in the console, and paste the key.
- 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 exampleus.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.