---
title: "Deploy Typebot - Chatbot Builder Platform"
description: "Self-hosted advanced chatbot with Postgres, Redis & S3 Bucket."
category: "Bots"
url: https://railway.com/deploy/typebot-chatbot-builder-platform
---

# Deploy Typebot - Chatbot Builder Platform

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

**[Deploy Typebot - Chatbot Builder Platform on Railway](https://railway.com/template/typebot-chatbot-builder-platform)**

- **Creator:** codestorm
- **Category:** Bots
- **Total deploys:** 4

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Builder https://raw.githubusercontent.com/baptisteArno/typebot.io/b0d1b113259c4e820f0b5e45d3b2d45df5776513/apps/docs/static/img/logo.svg

- **Image:** baptistearno/typebot-builder:latest
- **Public domain:** Yes

### Viewer https://raw.githubusercontent.com/baptisteArno/typebot.io/b0d1b113259c4e820f0b5e45d3b2d45df5776513/apps/docs/static/img/logo.svg

- **Image:** baptistearno/typebot-viewer:latest
- **Public domain:** Yes

## Buckets

- **Bucket**

## Documentation

# 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

* Typebot Documentation: https://docs.typebot.io
* Typebot GitHub Repository: https://github.com/baptisteArno/typebot.io
* Railway Documentation: https://docs.railway.com
* Railway Object Storage Documentation: https://docs.railway.com/guides/object-storage

### Implementation Details

This template deploys the official Typebot containers:

```text
Builder:
baptistearno/typebot-builder:latest

Viewer:
baptistearno/typebot-viewer:latest
```

Core services included:

```text
Typebot Builder
Typebot Viewer
PostgreSQL
Redis
Railway Bucket
```

Example architecture:

```text
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:

```text
Typebot Railway
```

6. Click **Generate**.
7. Google will display a 16-character App Password:

```text
abcd efgh ijkl mnop
```

8. Remove the spaces before using it:

```text
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.

## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Aug ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Aug ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/typebot-chatbot-builder-platform
