---
title: "Deploy Rivet + Chatbot-UI"
description: "Hosts Rivet with an Open AI compatible API + Chatbot-UI as a frontend"
category: "AI/ML"
url: https://railway.com/deploy/XjMVyQ
---

# Deploy Rivet + Chatbot-UI

Hosts Rivet with an Open AI compatible API + Chatbot-UI as a frontend

**[Deploy Rivet + Chatbot-UI on Railway](https://railway.com/template/XjMVyQ)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/XjMVyQ/manifest.json

- **Category:** AI/ML
- **Total deploys:** 96

## Template content

### Filebrowser

- **Image:** ghcr.io/brody192/filebrowser-template:latest
- **Health check:** /health
- **Public domain:** Yes

### chatbot-ui

- **Source:** https://github.com/ai-made-approachable/chatbot-ui
- **Public domain:** Yes

### rivet-chat-api

- **Source:** https://github.com/ai-made-approachable/rivet-chat-api
- **Public domain:** Yes

## Documentation

This template allows you to run your Rivet-Graphs (https://rivet.ironcladapp.com/) in the cloud and talk to them via Chatbot-UI interface. Only thing you need to do is add your project files via the fileupload interface and create a custom model in Chatbot-UI!

Video-tutorial can be found here:
https://youtu.be/WY2t1wFg50M

Requirements:
- Supabase account [free] (https://supabase.com/)
- Your Rivet project file with the following settings:
  - Main graph selected in project settings
  - Chat node(s) that should be used as streaming output need to be renamed to "output"
- Open AI API Key

Installation:
- Filebrowser: Just add username + password you want to use
- Chatbot-UI: Add all the information from supabase (see variable descriptions)
- Rivet-Chat-API: Add your Open-AI-Key

Setup:
- Go to Filebrowser, open the public URL, enter your username + password and upload your rivet project file (remember the name)
- Go to Chatbot-UI, create an account and click the link in the verification e-mail
- Go to "models" and create a custom model
  - Enter any name
  - For Model ID enter your rivet project file name, e.g. "example.rivet-project"
  - For Base URL enter: "http://rivet-chat-api.railway.internal:3100"
  - You do not need an API Key for internal communication

Further configurations can be done in your superbase account, e.g.:
  - Disallow new users to sign up
  - Edit the template + link in the verification e-mail
  - etc.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/XjMVyQ
