Deploy a preview
Ship a Vercel preview with the right env and DB.
Checklist
- Neon database (preview branch optional)
- Env vars on the Vercel project (same names as
.env.example) - OAuth redirect URLs include the preview host
NEXT_PUBLIC_APP_URLmatches the deployment URLbun run deploy:previewor git push to a connected branch
Notes
- Prefer migrations over
db:pushin shared environments postinstallmay migrate when env is present on Vercel — confirm your pipeline- Cache Components and auth cookies behave differently on preview hosts; verify sign-in end-to-end
Full production guidance: Integrations → Vercel.