

# Prerequisites

Make sure that you have the following:
+ Permissions to create AWS Context resources, an Amazon Bedrock managed knowledge base, an AWS Glue database, an Amazon S3 bucket, and IAM roles. For more information, see [Roles and permissions inside AWS Context](roles-and-permissions.md).
+ Fewer than 20 Agent Contexts in your account. If your account has reached the quota, the sample setup stops with the message **You’ve reached the context graph quota**. Delete an Agent Context that you don’t use, and then try again.
+ A Region where AWS Context is available. For more information, see [Region availability](what-is-regions.md).

**Note**  
The sample creates an Amazon Bedrock managed knowledge base, two connections, and an Agent Context, along with the Amazon S3 bucket, AWS Glue database, and IAM roles that they use. You pay for these resources until you delete them, as described in [Clean up](gs-cleanup.md).