AgentCore Chat quick start
Subscribe, launch and connect in your own AWS account.
Before you start
Use the same AWS account for subscription and deployment. AWS infrastructure, Marketplace software charges and Bedrock model usage are billed to that account. Start in us-east-1 and use the image and template from the same release.
Have a reachable CMS MCP endpoint, published website content and permission to deploy CloudFormation, IAM, AgentCore, Lambda, API Gateway and Secrets Manager resources.
1. Subscribe
Subscribe to AgentCore Chat on AWS Marketplace, accept the terms and select the release’s Chat CloudFormation deployment resource.
2. Launch from Portal
- Open Agents → Add Agent. Choose your AWS account, its CMS and Chat.
- Confirm your Marketplace subscription, select the website and choose public or VPC networking.
- Enter a unique stack name, agent name and model. Choose Launch once.
- Follow the deployment events on the detail page. Portal configures the website-scoped CMS connection on the server.
Launch directly in AWS
Create a normal CloudFormation stack from the matching release template. Supply McpUrl and McpCredentialSecretArn. The same-Region secret must contain {"token":"YOUR_MCP_TOKEN"}. Keep the token on the server.
Set AgentName, ModelId and the exact HTTPS website origins in AllowedOrigins. Set PublicChat=true for anonymous read-only website chat; authenticated chat requires OidcIssuer and OidcAudience. Keep autonomous operations disabled for public chat.
3. Connect the network
PUBLIC requires an internet-reachable HTTPS MCP endpoint. VPC requires runtime subnets and a VPC ID or security groups, plus routes or service endpoints for ECR, S3, Secrets Manager, CloudWatch and Bedrock. A public subnet’s internet gateway alone does not give the runtime internet access.
4. Verify Chat
Wait for CREATE_COMPLETE. Use the ChatApiUrl output to configure the CMS Chat provider for a manual installation. Portal installations connect through their normal agent detail and Update actions.
Open the chat workspace or website widget. Ask “Tell me about this page” and verify the answer against published website content. Public Chat remains read-only; it does not inherit backend MCP write permissions.
Update, logs and removal
Use Upgrade when a release is available, or update the existing CloudFormation stack with matching release assets. Preserve authentication, network and secret settings. View runtime logs and traces in CloudWatch; account-wide trace search must be enabled separately. Delete through the owning Cloud service or Portal action so AWS cleanup completes.