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

Typebot is a visual chatbot builder for conversational forms, lead-capture bots and AI assistants. This template runs Typebot 3.19.1 with separate builder and viewer services, PostgreSQL 18, Redis 8.2 and SeaweedFS file storage. Sign-in works on every Railway plan: codes go out through Resend or appear in the Builder's deploy logs, so SMTP is optional.

What you get

  • Official Typebot 3.19.1 builder and viewer images pinned by digest, each with a public domain and a healthcheck
  • PostgreSQL 18 and Redis 8.2 on the private network, each with a volume
  • SeaweedFS 4.53 as the S3 file store on a volume: anonymous read of public/ only, visitors' uploads in private/ served through Typebot's signed links
  • A loopback mail relay in the Builder that e-mails sign-in codes through Resend or prints them in the deploy logs
  • Sign-up closed by default, with ADMIN_EMAIL getting a workspace on the UNLIMITED plan
  • Database migrations retried until Postgres is up, before the Builder starts serving

Good for

  • 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 built with OpenAI or other AI blocks
  • WhatsApp bots through the official Cloud API

Cost

Measured idle on Railway: about 1.1 GB of RAM in total (Builder 0.41 to 0.56 GB, Viewer 0.27 to 0.30 GB, Files about 0.1 GB, Postgres under 0.1 GB, Redis 0.03 GB) and near-zero idle CPU. The template documentation puts that at about $11 a month idle plus volumes, and the author estimates $15 to $20 a month with real traffic. Every service fits the Trial plan's 1 GB limit; Hobby is recommended.

Services in this template

  • Postgres · image ghcr.io/railwayapp-templates/postgres-ssl:18.6@sha256:4fc833b43d2aaf6ecc9b18615f5533602b723a32d0e2efe2dae8ca0f7217c863
  • Files · from baranberkay96/typebot-railway
  • Viewer · from baranberkay96/typebot-railway
  • Builder · from baranberkay96/typebot-railway
  • Redis · image redis:8.2.11@sha256:b0b01167ff47bc3868e56a967895a26be4230891a1f42a78ab61cdd227accc8d

Questions people ask

How do I sign in?

Enter your e-mail in ADMIN_EMAIL when you deploy, open the Builder URL and enter that e-mail. Without RESEND_API_KEY, open the Builder service's Deploy Logs and search for 'Sign-in code'; type the code (valid for 5 minutes) or open the printed link. With a Resend key, or SMTP on Railway Pro, the code arrives by e-mail. GitHub and Google OAuth can be added too.

Is my data persistent?

Yes. Bots, results and workspaces are stored in Postgres on a volume, and uploaded images and visitors' files on the Files service's volume. Builder and Viewer are stateless. Keep the Files public domain, because published bots load their images from it. The template has no scheduled backup, so back up Postgres yourself, at least before upgrades.

What drives the cost?

Mostly the memory of Builder and Viewer. Measured idle on Railway, the five services used about 1.1 GB of RAM together, with near-zero idle CPU, and each stayed under the Trial plan's 1 GB per-service limit. More bot traffic, extra Viewer replicas and stored files add to that.

How do I upgrade?

Move the builder and viewer images in services/*/Dockerfile to the same new Typebot release, back up Postgres and redeploy. The Builder applies database migrations on start.

Can I use Typebot commercially?

The NOTICE lists Typebot under the Functional Source License 1.1 with an Apache 2.0 future licence (FSL-1.1-Apache-2.0). It is fair-source, not open-source: building and hosting bots for your own business is a permitted purpose, but offering Typebot to others as a competing commercial service, such as reselling hosted workspaces, is not. Each release becomes Apache-2.0 two years after it ships. This summary is not legal advice. The template is a community project, not affiliated with Typebot or Railway.

Full template README

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

Service What it does Public
Builder Bot editor, results, workspaces; runs database migrations; loopback mail relay yes
Viewer Serves published bots and the chat API yes
Files SeaweedFS S3 gateway: uploads on a volume, anonymous read of public/ only yes (file URLs)
Postgres All data no
Redis Sign-in rate limiting, WhatsApp media no

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.

Guides for this template

View Typebot 3.19 Chatbot Builder (Postgres, Redis, S3 Files) on railway.com

Similar templates

TemplateCategoryDeploymentsDeploys
9Router
Self-hosted AI router for Claude, Gemini, Cursor & OpenAI tools.
AI/ML9,775
flowise-railway
Flowise - low-code LLM apps builder
AI/ML8,511
LibreChat
Open-source ChatGPT clone: multi-model, agents, search, multi-user auth
AI/ML6,787
Hermes Agent by Nous Research
Template for Hermes Agent by Nous Research
AI/ML6,434
OpenClaw
[Homebrew support] The AI that actually does things
AI/ML5,182
Hermes Agent
Self Host Hermes Agent. Autonomous AI agent w/ self-improving, tools & more
AI/ML4,107