Back to all templates
Typebot logo

Typebot

Application512MB+ RAM

Conversational form builder and chatbot

chatbotformsconversational

Deploy Typebot in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Typebot

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy Typebot on a VPS with Server Compass

Use the Typebot template in Server Compass to deploy a self-hosted conversational form and chatbot builder with PostgreSQL and separate builder/viewer web services on your VPS, then verify the Typebot web UI in a browser.

About 7 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a Typebot app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for Typebot

Use the template picker search to find Typebot in the Server Compass template catalog.

Searching for Typebot in the Server Compass template picker
4
Step 4

Select the Typebot template

Choose the Typebot template. Server Compass fills the Typebot builder, viewer, and PostgreSQL services.

Typebot template selected in Server Compass
5
Step 5

Review the Typebot settings

Confirm the app name and compose services. In this run, the app was named typebot-demo and used host port 3000.

Reviewing Typebot project settings and compose services
6
Step 6

Deploy Typebot

Review the generated environment values, confirm the port is available, and click Deploy Now.

Reviewing Typebot environment variables and port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the Typebot image, starts the container, and verifies the stack.

Server Compass deploying the Typebot template on the VPS
8
Step 8

Confirm Typebot is running

After deployment finishes, return to the Apps tab and confirm the Typebot app is marked Running with its application URL available.

Typebot template running in the Server Compass Apps tab
9
Step 9

Open Typebot in the browser

Open the application URL in a browser. The Typebot web UI confirms the site is reachable.

The deployed Typebot web UI loaded in a browser

After Typebot Opens

  • Complete the Typebot setup wizard and create the first admin account before production use.
  • Configure workspace settings, HTTPS, email delivery, and bot publishing before production use.
  • Add a domain and HTTPS before exposing the Typebot setup wizard to users.
  • Back up the Typebot PostgreSQL volume before relying on it for production forms.

Verified Result

The Typebot web UI loaded successfully in a browser.

Typebot deployment questions

What does the Typebot template deploy?

It deploys Typebot with Typebot builder, Typebot viewer, and PostgreSQL database services.

Which port did the tutorial use?

The tutorial used host port 3000 for the Typebot builder and host port 3001 for the Typebot viewer.

Why does the guide stop at the first-run web UI?

The tutorial verifies the clean builder web UI because workspace setup, email delivery, and bot publishing depend on the production server.

Should this become a blog post?

No. The deployment guide should live on the Typebot template detail page and be linked from the reusable template deployment docs page.

Command Line Setup

Install Typebot Manually

Set up Typebot yourself using Docker Compose and the command line.

1

Remote into Your Server

Initiate a secure shell connection to your server using the command below.

terminal
# Connect to your VPS
ssh root@your-server-ip

# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ip

First time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh

2

Create the App Directory

Organize your deployment by creating a dedicated project folder.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/typebot
cd ~/apps/typebot
3

Write Your docker-compose.yml

Create a new docker-compose.yml file and paste this configuration:

docker-compose.yml
services:
  typebot-builder:
    image: baptistearno/typebot-builder:latest
    ports:
      - "3000:3000"
    environment:
      - DATABASE_URL=postgres://typebot:<your-db-password>@db:5432/typebot
      - NEXTAUTH_URL=<your-nextauth-url>
      - NEXT_PUBLIC_VIEWER_URL=<your-viewer-url>
      - ENCRYPTION_SECRET=<your-encryption-secret>
      - ADMIN_EMAIL=<your-admin-email>
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy

  typebot-viewer:
    image: baptistearno/typebot-viewer:latest
    ports:
      - "3001:3000"
    environment:
      - DATABASE_URL=postgres://typebot:<your-db-password>@db:5432/typebot
      - NEXTAUTH_URL=<your-nextauth-url>
      - ENCRYPTION_SECRET=<your-encryption-secret>
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy

  db:
    image: postgres:16-alpine
    environment:
      - POSTGRES_USER=typebot
      - POSTGRES_PASSWORD=<your-db-password>
      - POSTGRES_DB=typebot
    volumes:
      - postgres_data:/var/lib/postgresql/data
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U typebot"]
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  postgres_data:
Configuration Options
PORTBuilder port(default: 3000)
VIEWER_PORTViewer port(default: 3001)
NEXTAUTH_URLBuilder URL
VIEWER_URLViewer URL
ENCRYPTION_SECRETSecret
ADMIN_EMAILAdmin email
4

Launch the Containers

Start the services and tail the logs to verify startup.

terminal
# Spin up containers
docker compose up -d

# Verify deployment
docker compose ps

# Check logs for errors
docker compose logs -f
5

Open Firewall Ports

Open the required port in your firewall to allow access.

terminal
# Allow the application port through firewall
sudo ufw allow 3000/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:3000
Skip the Terminal

Want the easy way? Try Server Compass.

No terminal needed. Deploy Typebot through a visual dashboard with automatic configuration.

  • Visual config editor
  • Instant deployment
  • Automatic HTTPS
  • Smooth updates
  • Live monitoring
  • Quick rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying Typebot with Server Compass, complete these steps to finish setup

1

Sign up with admin email

2

Create your first typebot

3

Publish and embed

Need help? Check out our documentation for detailed guides.

Typebot FAQ

Common questions about self-hosting Typebot

How do I deploy Typebot with Server Compass?

Simply download Server Compass, connect to your VPS, and select Typebot from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Typebot?

Typebot requires a minimum of 512MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Typebot data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Typebot backup and restore procedures.

How do I update Typebot to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Typebot image will be pulled and deployed with zero downtime.

Is Typebot free to self-host?

Typebot is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Typebot?

Download Server Compass and deploy Typebot to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass