Skip to content

Amazon Bedrock

Amazon Bedrock gives you access to foundation models from Anthropic, Meta, Mistral, and others — all billed through your AWS account. If you’re already using AWS, Bedrock is a natural fit.

Before connecting Selu to Bedrock, you’ll need:

  1. An AWS account — Sign up at aws.amazon.com if you don’t have one.
  2. Bedrock model access — Enable the models you want in the AWS console under Amazon Bedrock → Model access. Some models require a brief approval process.
  3. A bearer token — You’ll need an AWS access token (bearer token) for authentication. This is typically obtained through your AWS session or API gateway.
  1. In the Selu sidebar, click Providers.
  2. Click Add Provider and select Amazon Bedrock.
  3. Paste your bearer token into the AWS Access Token field.
  4. Enter your AWS Region (e.g., us-east-1). Choose the region where you enabled model access.
  5. Click Check & Save. Selu will verify the connection and save your settings.

The Amazon Bedrock provider setup page with fields for AWS Access Token and AWS Region.

Your access token is encrypted at rest.

Bedrock offers models from multiple providers. The model is selected per agent under Agents → (agent name) → Model. Selu automatically fetches available models from your Bedrock account.

Popular choices include:

ModelProviderGood for
Claude Sonnet 4AnthropicGeneral purpose, balanced speed and quality
Claude 3.5 HaikuAnthropicFast, affordable responses
Llama 3MetaOpen-weight alternative, good all-rounder
Mistral LargeMistralStrong at coding and reasoning

Bedrock has a 5 MB limit per image for multimodal requests. Selu handles this automatically:

  • If you attach an image that’s too large, Selu will downscale and recompress it to fit within the limit before sending it to Bedrock.
  • If the image can’t be reduced enough to fit, it’s omitted and the agent receives a note explaining why, so the conversation can still continue.

You don’t need to resize images yourself before sending them — Selu takes care of it. However, sending smaller images will give the model a higher-quality view of what you’re sharing.

  • “Access denied” — Ensure your token has the correct Bedrock permissions and that the model is enabled in your selected region.
  • “Model not found” — Go to Amazon Bedrock → Model access in the AWS console and request access to the model.
  • High latency — Choose a region geographically close to your Selu server. Also consider using a faster model like Haiku.
  • Image not visible to the agent — If the agent mentions it can’t see an image you attached, the original file may have been too large to compress below the 5 MB limit. Try uploading a smaller version.