Deploy to Vercel
Deploy Zutra HyperSaaS to Vercel in under 5 minutes.
Zutra builds to a fully static site (output: "static"). Vercel serves static sites with zero configuration.
Steps
1. Push to GitHub
git init
git add .
git commit -m "initial commit"
gh repo create my-saas --private --push
2. Import on Vercel
- Go to vercel.com/new
- Import your GitHub repository
- Vercel auto-detects Astro — no framework config needed
3. Set environment variables
In Settings → Environment Variables, add every variable from your .env:
PUBLIC_SUPABASE_URL
PUBLIC_SUPABASE_ANON_KEY
PUBLIC_STRIPE_KEY
STRIPE_SECRET_KEY
RESEND_API_KEY
4. Deploy
Click Deploy. First build takes ~60 seconds. Every subsequent push to main redeploys automatically.
Custom domain
Settings → Domains → Add your domain. Vercel provisions an SSL certificate automatically.
Production checklist
-
SITE_URLinsrc/site.tsmatches your production domain -
SITE.appUrlinconfig.tspoints to your app subdomain - All environment variables set in Vercel dashboard
-
FEATURE_FLAGS.demoDropdown: false(removes the demo nav dropdown) -
FEATURE_FLAGS.purchaseBanner: false(already the default)