Vercel + Convex Cloud
This is the fastest production path with the least infrastructure overhead.Deployment Sequence
- Create/import project in Vercel from OpenChat repo.
- Provision Convex deployment and set deployment URL variables.
- Configure GitHub OAuth callback against Convex site URL.
- Add required secrets in Vercel environment settings.
- Verify workflow + rate-limit keys (Upstash) if enabled.
Important Variables
VITE_CONVEX_URLVITE_CONVEX_SITE_URLBETTER_AUTH_SECRETOPENROUTER_ENCRYPTION_KEY- Optional Upstash and search/workflow variables
Production Validation Checklist
- Sign in via GitHub OAuth works.
- New chat streams and persists.
- Provider credentials can be saved and used.
- Workflow endpoints return expected status codes.