GuidesDeploy
Deploy to Vercel
Deploy BetterStarter to Vercel.
Docs are in beta — content is improving rapidly. Found something missing? Open an issue on GitHub or reach out on Twitter.
A vercel.json is already included in the repo.
Steps
- Push your repo to GitHub
- Go to vercel.com/new and import the repo
- Add all environment variables in the project settings:
APP_BASE_URL=https://yourdomain.com
BETTER_AUTH_URL=https://yourdomain.com
BETTER_AUTH_SECRET=...
DATABASE_URL=...
# Add Stripe, Plunk, Google vars as needed- Click Deploy
Vercel will run pnpm build automatically using the included config.
Custom Domain
Add your domain in Project settings → Domains, then update APP_BASE_URL and BETTER_AUTH_URL to match.
Environment Variables via CLI
vercel env add APP_BASE_URL
vercel env add DATABASE_URL
# etc.