Deploy Typebot 3.19 Chatbot Builder (Postgres, Redis, S3 Files)

Visual chatbot builder: builder, bot viewer, file storage, login codes.

Deploy Typebot 3.19 Chatbot Builder (Postgres, Redis, S3 Files)

Just deployed

Just deployed

Deploy and Host Typebot with Railway

Typebot is a visual chatbot builder: drag blocks onto a canvas to build conversational forms, lead-capture bots and AI assistants, then embed them on a website or connect them to WhatsApp. This template runs Typebot 3.19 with its builder, bot viewer, PostgreSQL 18, Redis and S3-compatible file storage.

About Hosting Typebot

Typebot has two web apps. The builder is where you design bots, view results and manage workspaces; the viewer serves published bots to visitors. Both share PostgreSQL. Redis rate-limits sign-in requests and handles WhatsApp media. Uploaded images, avatars and visitors' files are stored in an S3 bucket.

Typebot signs people in with a 6-digit code sent by e-mail, and Railway allows outbound SMTP only on the Pro plan. This template adds a small loopback mail relay to the builder: with a free Resend API key the code is e-mailed over HTTPS; without one the code is printed in the Builder's deploy logs, so you can always sign in. Real SMTP and GitHub or Google OAuth remain available.

Common Use Cases

  • Lead capture and qualification bots embedded on a website
  • Conversational forms and quizzes that write results to Google Sheets or webhooks
  • Customer-support and FAQ assistants backed by OpenAI or other AI blocks
  • WhatsApp bots through the official Cloud API
  • Internal intake flows that hand data to n8n, Make or Zapier

Dependencies for Typebot Hosting

  • Typebot 3.19.1 builder and viewer images (official, pinned by digest)
  • PostgreSQL 18 (Railway's postgres-ssl image)
  • Redis 8.2
  • SeaweedFS 4.53 as the S3 file store
  • Optional: a Resend API key, or SMTP on Railway Pro, for e-mail delivery

Deployment Dependencies

Implementation Details

ServiceWhat it doesPublic
BuilderBot editor, results, workspaces; runs database migrations; loopback mail relayyes
ViewerServes published bots and the chat APIyes
FilesSeaweedFS S3 gateway: uploads on a volume, anonymous read of public/ onlyyes (file URLs)
PostgresAll datano
RedisSign-in rate limiting, WhatsApp mediano

First login

  1. Enter your e-mail in ADMIN_EMAIL when you deploy.
  2. Open the Builder URL and enter that e-mail.
  3. Without RESEND_API_KEY, open the Builder service's Deploy Logs and search for Sign-in code; type the code (valid 5 minutes) or open the printed link. With Resend, the code arrives by e-mail.
  4. The admin account gets a workspace on the UNLIMITED plan.

E-mail options. Resend: create an API key, set RESEND_API_KEY on Builder and set NEXT_PUBLIC_SMTP_FROM to an address on a domain you verified in Resend (the default onboarding@resend.dev sender only reaches the e-mail address of your Resend account). On Railway Pro you can instead set SMTP_HOST, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD and SMTP_SECURE; the relay is then not used. GitHub or Google sign-in: create an OAuth app with the callback {builder-url}/api/auth/callback/github (or /google) and set the client id and secret on Builder.

Adding people. Sign-up is closed (DISABLE_SIGNUP=true): only ADMIN_EMAIL and people you invite to a workspace or bot can create accounts. Invitations need a working e-mail option; without one, an invited person can still sign in, and their code appears in the Builder logs for you to pass on.

Files. Typebot's S3 client uses path-style requests, which new Railway Buckets reject, so files are stored by SeaweedFS on the Files service's volume. Bot images and avatars live under public/ and are readable by URL; visitors' uploads under private/ are only served through Typebot's signed links. Keep the Files public domain: bots load their images from it.

Custom domains. Add a domain to Builder and set NEXTAUTH_URL on Builder; add one to Viewer and set NEXT_PUBLIC_VIEWER_URL on both Builder and Viewer. Redeploy both.

Scaling and versions. Builder and Viewer are stateless; add Viewer replicas for heavy bot traffic. Images are pinned by digest in services/*/Dockerfile. To upgrade, move both Typebot images to the same new release, back up Postgres and redeploy; the Builder applies migrations on start.

Resources. Measured idle on Railway: Builder 0.4–0.56 GB, Viewer 0.3 GB, Files 0.1 GB, Postgres 0.08 GB, Redis 0.03 GB; about 1.1 GB in total and near-zero idle CPU, roughly $11–20 per month. Every service fits the Trial plan's 1 GB limit; Hobby is recommended.

License. Typebot is published under the Functional Source License 1.1 (FSL-1.1-Apache-2.0): you may self-host it for your own use, including commercially, but not offer it to others as a competing commercial chatbot-builder service. Each release becomes Apache-2.0 two years later. This is a community template; it is not affiliated with Typebot.

Why Deploy Typebot on Railway?

Railway runs the builder, viewer, database, Redis and file storage in one project with private networking, HTTPS and volumes. You get a complete Typebot installation in one click, with a sign-in path that works on every plan, and you can add domains or replicas from the dashboard.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1