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.

Netlify runs Next.js apps through its Next.js runtime, which is applied automatically when you import the repository - server rendering, ISR, and image optimization work without custom configuration. The starter deploys to Netlify without code changes.
Same as any serverless target:
pnpm run build and the publish directory is .next.In Site configuration → Environment variables, add the production values:
DATABASE_URL=postgresql://… # pooled connection string
PAYLOAD_SECRET=… # long random secret
CHAIBUILDER_APP_KEY=… # from your generated .env
SITE_URL=https://www.example.com # your primary domain
CHAIBUILDER_LICENSE_KEY=… # optional during trial
# Object storage
BUCKET_NAME=…
REGION=…
ACCESS_KEY_ID=…
SECRET_ACCESS_KEY=…
ENDPOINT=…
Unlike Vercel, there is no platform variable the app picks up for the site's base URL - set
SITE_URL explicitly to your primary domain. The full variable reference is in
Environment & License.
Trigger the first deploy, then verify the usual three things:
Pushes to the production branch deploy automatically; other branches get Deploy Previews with their own URLs.
SITE_URL in
sync with it, since licensing validates against your domain.