AI Studio currently supports Bedrock models in
us-east-1, us-west-1, and eu-west-1 regions only. See Regional considerations for details.Prerequisites
Before adding Bedrock models to AI Studio, you need:- An AWS account with access to Amazon Bedrock
- Model access enabled for the Bedrock models you want to use (see Enable model access)
- IAM credentials with permission to invoke Bedrock models
Configure AWS credentials
AI Studio supports two authentication methods for AWS Bedrock: access keys and IAM Role ARN. Choose the method that best fits your security requirements.Option 1: Access keys (recommended for getting started)
Access keys provide a straightforward way to authenticate with AWS. Create a dedicated IAM user for AI Studio rather than using personal credentials.Create an IAM user
- Sign in to the AWS IAM Console
- Navigate to Users in the left sidebar
- Select Create user
- Enter a username (for example,
writer-aistudio-bedrock) - Select Next
- Choose Attach policies directly
- Search for and select
AmazonBedrockFullAccess, or create a custom policy with more restrictive permissions (see IAM policy requirements) - Select Next, then Create user
Generate access keys
- Select the user you created
- Navigate to the Security credentials tab
- Under Access keys, select Create access key
- Choose Third-party service as the use case
- Acknowledge the recommendation and select Next
- Add an optional description tag (for example,
AI Studio Bedrock integration) - Select Create access key
- Copy the Access key ID and Secret access key
Option 2: IAM Role ARN (recommended for production)
IAM roles provide more secure access without long-term credentials. With this method, you create a role that Writer’s AI Studio assumes to access your Bedrock models.Create an IAM role
- Sign in to the AWS IAM Console
- Navigate to Roles in the left sidebar
- Select Create role
- Choose Custom trust policy
- Enter the following trust policy, which allows Writer to assume the role:
Contact Writer support to obtain the correct
WRITER_ACCOUNT_ID and YOUR_EXTERNAL_ID values for your organization.- Select Next
- Search for and select
AmazonBedrockFullAccess, or attach a custom policy - Select Next
- Enter a role name (for example,
WriterAIStudioBedrockRole) - Select Create role
- Copy the Role ARN from the role summary page (for example,
arn:aws:iam::123456789012:role/WriterAIStudioBedrockRole)
IAM policy requirements
For production deployments, create a custom IAM policy with least-privilege permissions instead of usingAmazonBedrockFullAccess. The minimum required permissions are:
Resource field:
Enable model access in Bedrock
Before using models in AI Studio, you must request access to them in the AWS Bedrock console.- Navigate to the Amazon Bedrock console
- Select your preferred region from the region dropdown (for example, US West (Oregon))
- Navigate to Model access in the left sidebar
- Select Manage model access
- Check the boxes for the models you want to enable
- Select Request model access
- Wait for the status to change from In Progress to Access granted
Some models require you to submit a use case and accept additional terms. Follow the prompts in the console to complete the access request.
Add Bedrock models in AI Studio
After configuring your AWS credentials and enabling model access:- Navigate to Models & Guardrails > Models in AI Studio
- Select + Add model
- Select AWS Bedrock as the provider
- Choose your authentication method:
- Access keys: Enter your access key ID and secret access key
- Role ARN: Enter your IAM role ARN
- Select the AWS region where you enabled model access
- Select the models you want to add from the available list
- Configure team access:
- All teams: Anyone with builder access can use the model
- Specific teams: Restrict to selected teams
- Select Add model

Regional considerations
AI Studio supports Bedrock models in the following AWS regions:- US East (
us-east-1) - US West (
us-west-1) - EU West (
eu-west-1)
Support for additional AWS regions is coming soon.
- Select a supported region where you have model access enabled
- Ensure your IAM credentials have permissions in the same region you select
- Some Bedrock models are only available in specific regions—check the Amazon Bedrock regional availability documentation
Monitor costs
AWS bills Bedrock usage directly to your AWS account based on the tokens processed. AI Studio also tracks usage and costs for external models, providing visibility into spending across all your models in one place. For information about monitoring model health and automatic recovery, see Monitor model health.Troubleshoot Bedrock configuration
Invalid credentials error
If you see an “Invalid credentials” or “Authentication failed” error:- Verify credentials are copied correctly without extra spaces
- Check that access keys are still active in the IAM console
- For Role ARN: Verify the trust policy includes the correct Writer account ID and external ID
- Ensure the IAM user/role has the required Bedrock permissions
Model not available error
If a model doesn’t appear or returns an error:- Confirm you’ve requested and received access to the model in the Bedrock console
- Verify you selected the correct region in AI Studio
- Check that your IAM policy allows access to the specific model
Access denied error
If you see permission errors when using a model:- Review your IAM policy to ensure it includes
bedrock:InvokeModelpermission - Check the policy’s
Resourcefield allows access to the model you’re using - For Role ARN: Verify the role can be assumed by Writer’s account
Unhealthy model status
If a model shows as unhealthy in AI Studio:- AI Studio automatically retries unhealthy models after a cooldown period
- For transient issues like temporary AWS outages, no action is needed
- For persistent issues, check the troubleshooting items above
Next steps
- Add external models: Learn about managing external models in AI Studio
- Choose a model: Compare Palmyra models with external provider models
- Amazon Bedrock documentation: Explore Bedrock’s full capabilities