DEV Community

Cover image for How to Self-Host Chatwoot on Railway - The Free Alternative to Intercom ($74/mo)
Amritasha Agrawal
Amritasha Agrawal

Posted on

How to Self-Host Chatwoot on Railway - The Free Alternative to Intercom ($74/mo)

How to Self-Host Chatwoot on Railway - The Free Alternative to Intercom ($74/mo)

If you're running a small business or SaaS and need a customer support inbox, you've probably looked at Intercom. Then you saw the pricing and closed the tab.

Intercom starts at $74/mo per seat. Zendesk isn't much better. For a bootstrapped founder or small team, that's a real cost before you've even talked to a customer.

Chatwoot is the open-source alternative. Same features: live chat, email inbox, WhatsApp, team assignments, canned responses, analytics. But you run it yourself, so you pay for infrastructure only. Not per agent, not per conversation.

On Railway, that's roughly $5–10/mo total. No seat limits. No conversation caps.

What is Chatwoot?

Chatwoot is an open-source customer support platform. It lets you manage all your customer conversations from a single shared inbox. Live chat, email, WhatsApp, Twitter, Facebook — all in one place.

Your whole team can see incoming messages, assign conversations, reply, add internal notes, and track response times. It's what Intercom does, minus the enterprise pricing.

It has 20,000+ GitHub stars and is actively maintained. This isn't a side project — it's production-ready software used by thousands of companies.

Pricing Comparison

Platform Price
Intercom $74+/mo per seat
Zendesk $55+/mo per agent
Freshdesk $15+/mo per agent
Chatwoot Cloud $19/mo (5 agents)
Chatwoot on Railway ~$5–10/mo total

A 5-person support team on Intercom costs $370+/mo. The same team on self-hosted Chatwoot costs $10/mo.

What You Get

  • Live chat widget — embed on any website in 2 minutes
  • Email inbox — connect your support@ address
  • WhatsApp, Twitter, Facebook integrations
  • Team inbox — assign, label, and prioritize conversations
  • Canned responses — reply faster with saved templates
  • Reports — response times, volume, agent performance
  • API access — connect to anything

Deploy in 5 Minutes

Railway handles the infrastructure. No servers to configure, no Docker knowledge needed.

Step 1 — Click Deploy

Use this link to get started:
https://railway.com/deploy/chatwoot-1?referralCode=Ib5Dqy&utm_medium=integration&utm_source=template&utm_campaign=generic

This sets up Chatwoot, PostgreSQL, and Redis automatically.

Step 2 — Set one variable

Generate a secret key by running this in your terminal:

openssl rand -hex 64
Enter fullscreen mode Exit fullscreen mode

Paste the output as SECRET_KEY_BASE in Railway. FRONTEND_URL is already wired to your Railway domain automatically.

Step 3 — Wait about 2 minutes

Railway builds the container and runs database migrations on first boot. You'll see the deployment go green in the dashboard.

Step 4 — Create your admin account

Open your Railway domain. Chatwoot walks you through account setup in about 30 seconds.

Step 5 — Add your first inbox

Go to Settings → Inboxes → Add Inbox and pick your channel:

  • Live Chat — paste the widget script into your website's head tag
  • Email — connect your support@ address
  • WhatsApp — connect via Twilio or the WhatsApp Cloud API

Optional: Email Notifications

To get invite emails and password reset emails working, add these to your Railway variables:

MAILER_SENDER_EMAIL=support@yourdomain.com
SMTP_ADDRESS=smtp.sendgrid.net
SMTP_PORT=587
SMTP_USERNAME=apikey
SMTP_PASSWORD=your-sendgrid-api-key
SMTP_AUTHENTICATION=plain
SMTP_ENABLE_STARTTLS_AUTO=true
Enter fullscreen mode Exit fullscreen mode

Works with SendGrid, Resend, Postmark, or any SMTP provider.

When to Move On

Chatwoot works well for teams up to around 50 agents. If you outgrow it:

  • Intercom — polished and powerful, but $74+/mo per seat
  • Zendesk — built for enterprise support, ticketing, SLAs
  • Freshdesk — cheaper, has a free tier

Most small businesses won't hit those limits for years. And if you do, Chatwoot exports conversations as CSV so migrating is straightforward.

Bottom Line

You don't need to pay $74/mo per agent to run a proper support inbox. Chatwoot covers live chat, email, WhatsApp, and team collaboration for the cost of a Railway hobby plan.

Deploy it here: https://railway.com/deploy/chatwoot-1?referralCode=Ib5Dqy&utm_medium=integration&utm_source=template&utm_campaign=generic

Top comments (0)