Skip to main content

AWS SSO Login

Before Firebender can use Amazon Bedrock, make sure you have access to an AWS account and role with Bedrock permissions. If you do not yet have access, request it from your team or AWS administrator.

1. Install the AWS CLI

If you do not have the AWS CLI installed yet, install it from Homebrew.

2. Configure an AWS SSO profile

Run:
aws configure sso
When prompted, enter the values provided by your company or AWS administrator, such as:
  • SSO start URL
  • SSO region
  • AWS account
  • AWS role
  • Profile name
This creates an SSO profile in ~/.aws/config.

3. Add AWS variables to your shell config

Add these exports to your shell startup file such as ~/.zshrc or ~/.bashrc
export AWS_PROFILE=<your-profile-name>
export AWS_REGION=us-east-1

4. Sign in with AWS SSO

aws sso login --profile <your-profile-name>
If the browser does not open automatically, copy the URL shown in your terminal and open it manually to complete the sign-in flow.

5. Verify AWS access

aws sts get-caller-identity --profile <your-profile-name>
If that succeeds, Firebender can use the default AWS credential chain. After you log in with AWS SSO and set AWS_PROFILE, it can pick up your temporary Bedrock credentials automatically.

6. Use Anthropic models through Bedrock

After this is set up, Anthropic requests from Firebender should go through Amazon Bedrock. Once you are logged in with AWS SSO, Firebender automatically handles AWS authentication for Bedrock requests.