Amazon Bedrock
Configure Amazon Bedrock as an AI provider for chat and embedding capabilities.
Amazon Bedrock provides access to multiple AI models from Amazon, Anthropic, Meta, Mistral, and others through AWS infrastructure, supporting both Chat and Embedding capabilities.
Installation
Install-Package Umbraco.AI.AmazonOr via .NET CLI:
dotnet add package Umbraco.AI.AmazonConnection Settings
Region
Yes
AWS region (e.g., us-east-1)
Access Key ID
Yes
Your AWS access key ID
Secret Access Key
Yes
Your AWS secret access key
Endpoint
No
Custom endpoint URL (for VPC endpoints)
Getting AWS Credentials
Sign in to the AWS Console
Navigate to IAM > Users
Create or select a user
Create an access key under Security credentials
Copy the Access Key ID and Secret Access Key
Required IAM Policy
The IAM principal needs permission to invoke Bedrock models and to subscribe to Amazon Web Services (AWS) Marketplace products. The Marketplace actions are used by Bedrock to auto-enable foundation models on first use.
The AWS managed policy AmazonBedrockFullAccess covers all of these actions if you prefer to attach a managed policy.
Enabling Models
In commercial AWS regions, foundation model access is enabled automatically. The first time you invoke a third-party model in an account, Amazon Bedrock initiates the subscription in the background. Auto-enablement can take up to 15 minutes, during which calls may return AccessDeniedException.
Anthropic models
Anthropic models require a one-time use-case form per AWS account or organization. Submit the form by selecting an Anthropic model from the model catalog in the Bedrock console, or by calling the PutUseCaseForModelAccess API. Access is granted immediately after submission.
AWS GovCloud (US)
GovCloud accounts in us-gov-west-1 still use the Model access page in the Bedrock console for manual enablement. Third-party models also need to be enabled in the linked commercial account. For full details, see the AWS guide on Request access to models.

Related
Last updated
Was this helpful?