Deployment
Deploy your SaaS to Vercel in one click — with your own domain, SSL, and auto-scaling.
Deploy to Vercel
The recommended deployment platform is Vercel. It auto-detects Next.js, handles SSL, and provides a global CDN.
One-Click Deploy
Manual Deploy
# Install the Vercel CLI npm install -g vercel # Login vercel login # Deploy from the app directory cd apps/web vercel --prod
- Set environment variables in the Vercel dashboard (Project → Settings → Environment Variables)
- Run
vercel --prod - Add your custom domain in the Vercel dashboard
Postgres on Vercel
Create a Vercel Postgres database or connect an external one (Neon, Supabase). Set POSTGRES_URL as an environment variable.
Stripe in Production
- Switch from test to live mode in Stripe Dashboard
- Create live products and prices
- Update
STRIPE_SECRET_KEYto your live key - Update your webhook endpoint URL to your production domain
Domain Setup
In the Vercel dashboard:
- Go to Project → Settings → Domains
- Add your domain (e.g.
app.example.com) - Follow the DNS instructions (add a CNAME record)
- Vercel auto-provisions SSL via Let's Encrypt
Keep your Cloudflare proxy off
If your DNS is on Cloudflare, set the CNAME to DNS-only (grey cloud). The orange cloud (proxy) can conflict with Vercel's SSL provisioning.