Skip to content

Slightly confusing docs for Amazon Bedrock setup #16576

Description

@cklingspor

Question

Hey team,

I think the docs for Amazon Bedrock could be slightly improved:
https://opencode.ai/docs/providers/#amazon-bedrock

Currently the page mainly explains how to set up Bedrock using an API key. A couple of clarifications could help users get started more easily.

My suggestion on how to improve:

  1. Add a direct link to the AWS documentation on creating API keys:
    https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys.html

  2. In the Environment Variables (Quick Start) section:
    https://opencode.ai/docs/providers/#environment-variables-quick-start

    With the correct IAM permissions configured, users do not need to run the /connect command. They can go directly to /models, which will show a list of available models. However, this is not apparent imho.

    This works even without explicitly requesting model access as described in the docs.

    Image

If helpful, I can also share a sample IAM policy that grants the required permissions?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions