---
title: "Deploy Navigator"
description: "Self-hosted AI chat and agent workspace with MCP tools and workflows"
category: "AI/ML"
url: https://railway.com/deploy/navigator
---

# Deploy Navigator

Self-hosted AI chat and agent workspace with MCP tools and workflows

**[Deploy Navigator on Railway](https://railway.com/template/navigator)**

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

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### Navigator https://raw.githubusercontent.com/keinsaasforever/better-chatbot/c646445baa420ec91e48a4a5860b4accf3b35236/apps/web/src/app/android-chrome-512x512.png

- **Source:** https://github.com/aalfath/navigator-railway-template
- **Health check:** /ping
- **Public domain:** Yes

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

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

## Documentation

# Deploy and Host Navigator on Railway

Navigator (keinsaas Navigator Community Edition, formerly better-chatbot) is an open-source, MIT-licensed AI chat and agent workspace you host yourself. Chat with models from many providers, build agents and visual workflows, connect MCP tool servers, organise work in projects with document search, and schedule agents to run on their own.

## About Hosting Navigator

This template deploys Navigator v2.0.0 as two services. **Navigator**, the Next.js web app, is built from a public GitHub repo that pins the release. **Postgres** is Railway's PostgreSQL with pgvector, on a volume, and holds accounts, chats, agents, workflows and document embeddings. On first boot the app runs its database migrations and creates your admin account from `ADMIN_EMAIL` and a generated `ADMIN_PASSWORD`. Public sign-up then stays closed. You enter one key: a Vercel AI Gateway key, which serves every model in Navigator's menu. A small loop in the start script runs scheduled agent tasks every minute, so no Inngest account is needed.

## Common Use Cases

* A private ChatGPT-style workspace for you or your team, with models from OpenAI, Anthropic, Google, xAI, Mistral, DeepSeek and others behind one key
* Agents that call MCP tool servers and run as visual workflows or on a schedule
* Project workspaces that search your documents with pgvector

## Dependencies for Navigator Hosting

* A Vercel AI Gateway API key (https://vercel.com/ai-gateway), billed by Vercel per use
* PostgreSQL with pgvector (included: Railway Postgres)

### Deployment Dependencies

* Navigator source: https://github.com/keinsaasforever/better-chatbot (release v2.0.0)
* Template repo: https://github.com/aalfath/navigator-railway-template
* Vercel AI Gateway: https://vercel.com/ai-gateway

### Implementation Details

**After deploy:** open the Navigator service's URL and sign in with `ADMIN_EMAIL` and the `ADMIN_PASSWORD` shown in the service's Variables tab. Add more users from `/admin/users`, or set `DISABLE_SIGN_UP=0` while they sign up. If you use a custom domain, set `BETTER_AUTH_URL` and `NEXT_PUBLIC_BASE_URL` to it.

**Your own models:** each user can add an OpenAI-compatible server (vLLM, LM Studio, Ollama, a provider's `/v1` endpoint) under **Local Models** in the model menu.

**Optional features** are switched on by adding variables to the Navigator service: `EXA_API_KEY` (web search), `COMPOSIO_API_KEY` (connected apps), `E2B_API_KEY` (code sandboxes; without it, code runs in the browser), `ASSEMBLYAI_API_KEY` (voice), `SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY` and `NEXT_PUBLIC_SUPABASE_URL` (file uploads, which are off without them), `REDIS_URL` (resumable chat streams), and GitHub, Google or Microsoft OAuth client IDs. Password-reset emails aren't sent in this edition: the admin resets passwords from the admin area.

**Resources:** the stack runs within the Free plan's 0.5 GB per service (Navigator used about 300 MB during chats in our test). Several people at once, or large PDF imports, run better with 1 GB.

**Updates:** the template repo pins the release. When we publish a new version, Railway offers you the update. Read the repo's `CHANGELOG.md`, back up Postgres, then apply it. Navigator migrates its database when it starts.

## Why Deploy Navigator 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 Navigator 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

- [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/navigator
