The Visual Website Builder
You Actually Own. React + Next.js, low-code, self-hosted. Your data, your infrastructure, every feature included.
© ChaiBuilder. All rights reserved.

Vercel is the most direct path to production for a ChaiBuilder site: native Next.js support, built-in ISR, and automatic deploys from Git. The starter works on Vercel without code changes.
Starting from scratch? You don't need a local project to get on Vercel - the Quickstart's one-click path deploys the starter first and finishes setup in the browser through the built-in
/setupwizard. This page covers deploying a project you set up locally, and doubles as the environment reference for the wizard's paste-and-redeploy step.
Before the first deploy, have these ready:
Use your provider's pooled connection string. Serverless creates many short-lived instances; connect Postgres through Neon's pooled endpoint or Supabase's transaction pooler (port 6543). ChaiBuilder detects poolers and sizes its connection pool down automatically.
pnpm install and the build command is pnpm run build.In the project's Settings → Environment Variables, add the production values:
DATABASE_URL=postgresql://… # pooled connection string
PAYLOAD_SECRET=… # long random secret
CHAIBUILDER_APP_KEY=… # from your generated .env or the /setup wizard output
CHAIBUILDER_LICENSE_KEY=… # optional during trial
# Object storage
BUCKET_NAME=…
AWS_ACCESS_KEY_ID=…
AWS_SECRET_ACCESS_KEY=…
S3_REGION=… # defaults to "auto" when unset
S3_ENDPOINT=… # omit on AWS S3
You can omit SITE_URL on Vercel - the platform's VERCEL_PROJECT_PRODUCTION_URL is used
to build the site's base URL automatically. The full variable reference is in
Environment & License.
Trigger the first deploy. Then verify:
Every push to your production branch now deploys automatically; preview branches get preview deployments with their own URLs.
SITE_URL,
keep it in sync with the primary domain, since licensing validates against your domain.