This guide installs Chatwoot on a self-hosted Linux server.
Install required packages: Docker, PostgreSQL client libraries, and system dependencies.
Create a PostgreSQL database and user for Chatwoot, or use the bundled PostgreSQL container.
Set up required environment variables including SECRET_KEY_BASE, database credentials, and encryption keys for MFA.
Run database migrations with db:chatwoot_prepare and start the Rails server and Sidekiq worker.
Set up Nginx or another reverse proxy with Let’s Encrypt SSL for HTTPS access.
Prefer automation? See:
Prefer containers? See Chatwoot Docker Setup.
Any questions?
Feel free to contact us. Find all contact information on our contact page.