- Go to https://aws.amazon.com
- Click "Create an AWS Account"
- Enter your email and choose account name
- Verify email and set password
- Add payment method (required, but we'll use free tier)
- Verify phone number
- Choose "Basic Support Plan" (free)
- Go to https://console.aws.amazon.com
- Sign in with your new account
- You should see the AWS Management Console
- In AWS Console, search for "Bedrock" in the top search bar
- Click on "Amazon Bedrock"
- You'll see the Bedrock dashboard
-
In Bedrock console, click "Model access" in left sidebar
-
Click "Request model access" button
-
Select these models (check the boxes):
- ✅ Amazon Titan Text Express (recommended primary)
- ✅ Anthropic Claude 3 Haiku (for advanced reasoning)
- ✅ Mistral 7B Instruct (for multilingual)
- ✅ Amazon Nova Lite (NEW - for multimodal)
- ✅ Amazon Nova Pro (NEW - for advanced multimodal)
-
Click "Request model access"
-
Status should show "Access granted" (usually instant)
- Go to "Playgrounds" → "Chat"
- Select "Titan Text Express" from dropdown
- Type "Hello, test message"
- If you get a response, models are working! ✅
- Search for "IAM" in AWS Console
- Click on "IAM" service
- Click "Users" in left sidebar
- Click "Create user"
- User name:
chaincommerce-bedrock-user - Access type: Select "Programmatic access"
- Click "Next"
-
Click "Attach policies directly"
-
Search for "bedrock" in the policy search
-
Select these policies:
- ✅
AmazonBedrockFullAccess - ✅
AmazonBedrockAgentFullAccess(for agents)
- ✅
-
Click "Next" → "Create user"
-
After user creation, you'll see:
- Access Key ID:
AKIA...(copy this) - Secret Access Key:
...(copy this)
- Access Key ID:
-
Save both values securely - you'll need them for your app
# In your project directory
cd packages/nextjs
cp .env.example .env.localOpen packages/nextjs/.env.local and replace:
# AWS Bedrock Configuration
AWS_ACCESS_KEY_ID=your_actual_access_key_id_here
AWS_SECRET_ACCESS_KEY=your_actual_secret_access_key_here
AWS_REGION=us-east-1# Start your development server
yarn start
# Visit http://localhost:3000/api/test-aws
# You should see: "AWS Bedrock connection successful!"- Go to
http://localhost:3000/marketplace - Try the AI Shopping Assistant
- Search for "sustainable electronics"
- You should get real AI responses instead of mock data! 🎉
- Pricing Optimizer: Should give real market analysis
- Dispute Resolution: Should provide actual AI analysis
1. "Access Denied" Error
- Check IAM permissions are correct
- Verify model access is granted in Bedrock console
2. "Model not available"
- Ensure you requested access to the models
- Check you're using the correct region (us-east-1)
3. "Invalid credentials"
- Double-check Access Key ID and Secret Key
- Ensure no extra spaces in .env.local file
Once you complete these steps, your AI marketplace will have:
- ✅ Real AI-powered product recommendations
- ✅ Actual market analysis for pricing
- ✅ Genuine dispute resolution with AI
- ✅ Production-ready responses for demos
Total Setup Time: ~30 minutes Total Cost for Hackathon: ~$0.40 - $1.00
Your project is now ready to showcase real AI capabilities! 🎉