Overview
Deploy StudyStudio to production on Vercel
This section covers deploying StudyStudio to production with Vercel, Convex Cloud, Better Auth, and live payment credentials. You will configure production environment variables, connect services with live credentials, deploy the database, and go live.
Getting Started
Recommended production stack and setup
Environment Variables
Configure production secrets in Vercel and Convex
Convex Database
Deploy your schema and functions to Convex Cloud
Authentication
Production auth URLs and admin setup
Google Gemini
Production AI keys
Resend
Production email delivery
Payment Gateways
Live Stripe, PayPal, Razorpay, Flutterwave keys and webhooks
Deploy
Push to Vercel and go live
Setup at a Glance
Push to GitHub
Commit your code and push to a private GitHub repository, then import it into Vercel.
Add environment variables
Add all production keys and secrets in the Vercel dashboard and the Convex dashboard.
Deploy Convex
Run npx convex deploy to push your schema, queries, mutations, and
actions.
Configure live services
Switch Stripe, PayPal, Razorpay, and Flutterwave to live mode and configure webhooks.
Go live
Deploy your Vercel build and verify your live application.