Skip to content
Gallery
Amazon Bedrock showcase
Share
Explore

icon picker
Setup

For this pack to work, you need to provide AWS Access Key ID and Access Key Secret as credentials.
1) Create a new IAM user in AWS Console As a best practice create a separate credentials for each document with the minimum privilege required by your use-case.
Name your IAM user something meaningful
Set the IAM user’s policy according to your use-case. A broad privilege (granting invoke permission to all models) used to run this sample may look like this:
{
"Statement": [
{
"Action": [
"bedrock:ListFoundationModels",
"bedrock:GetFoundationModel",
"bedrock:InvokeModel",
"bedrock:GetCustomModel",
"bedrock:ListCustomModels"
],
"Effect": "Allow",
"Resource": [
"*"
]
}
],
"Version": "2012-10-17"
}
2) Create programmatic access credentials
Create an access key under Security Credentials > Access Keys
Do not share these credentials with anyone, and don’t use them outside coda.
3) Use the credentials to connect to the Pack in the Doc when you copy this template ​
image.png

Copy Template
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.