Get your keys from here.
Create a virtual environment
Open the Terminal and create a python virtual environment.
Terminal
Install libraries
pip install -U boto3 phidata
Export Environment Variables
export AWS_ACCESS_KEY_ID=*** export AWS_SECRET_ACCESS_KEY=*** export AWS_DEFAULT_REGION=***
Run AWS Bedrock Agent
python cookbook/providers/bedrock/basic.py
Was this page helpful?