Skip to content

Configuring AWS Bedrock Models

This page explains how to retrieve or generate API credentials for AWS Bedrock models. Once you have the configuration details, you can follow the guide here to set up the model in the Flexpilot IDE.

🔗 Quick Links

Setup Guide

🔒 Security Warning

Never commit AWS credentials to version control or share them publicly. Keep them secure!

  1. Login to AWS Console or create a new account if you don't have one.
  2. Navigate to IAM Console to create a new IAM user with Bedrock access permissions.
  3. Generate Access Key ID and Secret Access Key for the IAM user.
  4. Enable AWS Bedrock service in your desired region.
  5. Visit the Bedrock Models documentation to select the appropriate model.

Configuration Reference

Use these settings when configuring AWS Bedrock in Flexpilot IDE:

Configuration Fields
FieldDescriptionDefault/Recommended
NicknameDisplay name for the modelAmazon Bedrock Model
RegionAWS region identifierus-east-2
Access Key IDAWS access keyFrom IAM credentials
Secret Access KeyAWS secret keyFrom IAM credentials
Session TokenTemporary session tokenOptional
Model IDBedrock model identifierus.anthropic.claude-3-5-sonnet-20241022-v2:0
TemperatureResponse creativity (0-1)0.2 for code generation
Tool CallingFunction calling supporttrue

💡 Pro Tips

  • Use lower temperatures (0.1-0.3) for more deterministic code generation
  • Ensure your IAM user has appropriate Bedrock permissions
  • Choose the region closest to your location for better latency

Next Steps

Set up the API credentials obtained from this page's instructions in the Flexpilot IDE to enable the Chat Model. For detailed guidance, refer to the Setup Guide.