Cloud Setup
Deploy Hyperagent using cloud services like Supabase and Render for a production-ready setup without local infrastructure.
Overview
Cloud setup uses Supabase for PostgreSQL and Render for hosting the backend. This approach reduces local resource requirements and simplifies deployment.
Free Tier Available
Both Supabase and Render offer free tiers suitable for development and small-scale deployments.
Supabase Setup
Set up your database on Supabase:
1. Create Project
Sign up at supabase.com and create a new project
2. Get Connection String
Go to Settings → Database and copy the connection string
3. Enable Extensions
Enable pgvector extension in Supabase dashboard
Render Deployment
Deploy the backend to Render:
Terminal
# 1. Connect GitHub repository to Render
# 2. Create new Web Service
# 3. Select Python environment
# 4. Set build command:
pip install -r requirements.txt
# 5. Set start command:
uvicorn hyperagent.api.main:app --host 0.0.0.0 --port $PORT
# 6. Add environment variables from .env
# 7. Deploy!Configuration
Configure environment variables in Render dashboard:
Terminal
# Database (Supabase)
DATABASE_URL=postgresql://postgres:xxxxx@db.xxxxx.supabase.co:5432/postgres
# LLM
GEMINI_API_KEY=your_key
# x402
THIRDWEB_CLIENT_ID=your_client_id
THIRDWEB_SECRET_KEY=your_secret_key