Railway

Deploy Typebot - Chatbot Builder Platform

Self-hosted advanced chatbot with Postgres, Redis & S3 Bucket.

Deploy Typebot - Chatbot Builder Platform

/var/lib/postgresql/data

Just deployed

/data

Bucket

Bucket

Just deployed

Deploy and Host Typebot - Chatbot Builder Platform on Railway

Typebot is an open-source chatbot and conversational experience builder that enables teams to create interactive forms, AI agents, customer support flows, lead generation funnels, and automated workflows through a visual drag-and-drop interface. It supports integrations with APIs, databases, LLMs, webhooks, and third-party services while providing full control through self-hosting.

About Hosting Typebot - Chatbot Builder Platform

Hosting Typebot on Railway provides a fully managed environment for running both the Typebot Builder and Viewer applications. This template deploys the official Typebot Docker images alongside PostgreSQL, Redis, and Railway Object Storage (Buckets) to create a production-ready conversational platform.

The Builder application is used to create and manage chatbots, while the Viewer application serves chatbot experiences to end users. PostgreSQL stores application data, Redis handles caching and background processes, and Railway Buckets provide object storage for uploads and media assets. Railway manages networking, environment variables, deployments, and scaling, allowing teams to focus on building chatbot experiences instead of maintaining infrastructure.

Common Use Cases

  • AI-powered customer support and customer service automation
  • Lead generation forms, surveys, and marketing funnels
  • Internal tools, onboarding workflows, and data collection processes

Dependencies for Typebot - Chatbot Builder Platform Hosting

  • PostgreSQL database
  • Redis instance
  • Railway Bucket (S3-compatible object storage)

Deployment Dependencies

Implementation Details

This template deploys the official Typebot containers:

Builder:
baptistearno/typebot-builder:latest

Viewer:
baptistearno/typebot-viewer:latest

Core services included:

Typebot Builder
Typebot Viewer
PostgreSQL
Redis
Railway Bucket

Example architecture:

Users
  │
  ▼
Typebot Viewer
  │
  ▼
Typebot Builder
  ├── PostgreSQL
  ├── Redis
  └── Railway Bucket

Pre-Deployment Setup

Configure Email Authentication (Required)

Typebot requires at least one authentication provider before users can sign in. This template is configured to use Gmail SMTP for email-based authentication.

Step 1: Enable 2-Step Verification
  1. Open your Google Account Security settings.
  2. Enable 2-Step Verification.
  3. Complete the verification setup process.

Google requires 2-Step Verification before App Passwords can be generated.

Step 2: Generate a Gmail App Password
  1. Open: https://myaccount.google.com/apppasswords
  2. Sign in with the Gmail account you want to use.
  3. Select Mail as the app.
  4. Select Other (Custom name) as the device.
  5. Enter a name such as:
Typebot Railway
  1. Click Generate.
  2. Google will display a 16-character App Password:
abcd efgh ijkl mnop
  1. Remove the spaces before using it:
abcdefghijklmnop

Do not use your normal Gmail password. Only use the generated App Password.

Why Deploy Typebot - Chatbot Builder Platform on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Typebot - Chatbot Builder Platform on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Telegram JavaScript Bot
A template for Telegram bot in JavaScript using grammY

Agampreet Singh
View Template
Cobalt Tools [Updated Jun ’26]
Cobalt Tools [Jun ’26] (Media Downloader, Converter & Automation) Self Host

shinyduo
View Template
Whatsmiau
Deploy Whatsmiau on Railway. WhatsApp REST API. One click.

Douglas Rubim