You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai-coder/ai-bridge/setup.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,34 @@ Set the following when routing [Amazon Bedrock](https://coder.com/docs/reference
58
58
-`CODER_AIBRIDGE_BEDROCK_MODEL` or `--aibridge-bedrock-model`
59
59
-`CODER_AIBRIDGE_BEDROCK_SMALL_FAST_MODEL` or `--aibridge-bedrock-small-fast-model`
60
60
61
+
#### Obtaining Bedrock credentials
62
+
63
+
1.**Choose a region** where you want to use Bedrock.
64
+
65
+
2.**Generate API keys** in the [AWS Bedrock console](https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/api-keys/long-term/create) (replace `us-east-1` in the URL with your chosen region):
66
+
- Choose an expiry period for the key.
67
+
- Click **Generate**.
68
+
- This creates an IAM user with strictly-scoped permissions for Bedrock access.
69
+
70
+
3.**Create an access key** for the IAM user:
71
+
- After generating the API key, click **"You can directly modify permissions for the IAM user associated"**.
72
+
- In the IAM user page, navigate to the **Security credentials** tab.
73
+
- Under **Access keys**, click **Create access key**.
74
+
- Select **"Application running outside AWS"** as the use case.
75
+
- Click **Next**.
76
+
- Add a description like "Coder AI Bridge token".
77
+
- Click **Create access key**.
78
+
- Save both the access key ID and secret access key securely.
79
+
80
+
4.**Configure your Coder deployment** with the credentials:
AI Bridge can relay traffic to other OpenAI- or Anthropic-compatible services or model proxies like LiteLLM by pointing the base URL variables above at the provider you operate. Share feedback or follow along in the [`aibridge`](https://github.com/coder/aibridge) issue tracker as we expand support for additional providers.
0 commit comments