backend/.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
PLATFORM_AWS_REGION
Copy to .env and fill in the RuntimeStack / PlatformStack outputs.
PLATFORM_DYNAMO_TABLE
PLATFORM_INTERACTIVE_RUNTIME_ARN
PLATFORM_SDK_RUNTIME_ARN
PLATFORM_WORKSPACE_BUCKET
PLATFORM_API_TOKEN
secret
Optional static bearer token; empty = open (local dev only)
PLATFORM_CORS_ORIGINS
brew install flyctl && fly launch --from https://github.com/aws-samples/sample-agent-platform-with-agentcore
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/aws-samples/sample-agent-platform-with-agentcore
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/aws-samples/sample-agent-platform-with-agentcore