Skip to content
ChatJS
Esc
navigateopen⌘Jpreview
On this page

Self-Hosted

Deploy ChatJS on any platform

ChatJS can be deployed to any platform that supports Next.js.

Getting Started

Follow the Quickstart to scaffold your project and get it running locally. Then deploy to your platform of choice.

Environment Variables

See the Quickstart for required environment variables.

Database Migrations

For production deployments, use tracked migrations instead of db:push:

bun run db:migrate

Platform Guides

For the simplest setup, we recommend deploying to Vercel. For containerized deployments, see Docker.

Was this page helpful?