---
# System prepended metadata

title: Bedrock Workshop

---

# Amazon Bedrock Workshop for FSI (3. Knowledge Bases for GraphRag)(Supplementary)

## Model Access

1. 開啟 `AmazonBedrockExecutionRoleForKnowledgeBase` 編輯畫面
![image](https://hackmd.io/_uploads/BJ_NxwilZx.png)

2. 建立 `Inline Policy`
![image](https://hackmd.io/_uploads/Sy_Klwse-e.png)

3. 編輯 Policy 內容 (複製貼上)
```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "MarketplaceBedrock",
            "Effect": "Allow",
            "Action": [
                "aws-marketplace:ViewSubscriptions",
                "aws-marketplace:Subscribe",
                "aws-marketplace:Unsubscribe"
            ],
            "Resource": "*"
        }
    ]
}
```
![image](https://hackmd.io/_uploads/BJSJ-Poebg.png)

4. 輸入 Policy 名稱

名稱：`BedrockMarketplaceAccess`
![image](https://hackmd.io/_uploads/BJk1Mvje-x.png)

