continue-custom/docs/docs/reference/Model Providers/bedrock.md
2024-03-26 07:34:59 +00:00

615 B

AWS Bedrock

To setup Bedrock, add the following to your config.json file:

{
  "models": [
    {
      "title": "Bedrock: Claude 3 Sonnet",
      "provider": "bedrock",
      "model": "anthropic.claude-3-sonnet-20240229-v1:0",
      "region": "us-east-1"
    }
  ]
}

Authentication will be through temporary or long-term credentials in ~/.aws/credentials under a profile called "bedrock".

[bedrock]
aws_access_key_id = abcdefg
aws_secret_access_key = hijklmno
aws_session_token = pqrstuvwxyz # Optional: means short term creds.