Deploy Navigator

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

Deploy Navigator

/var/lib/postgresql/data

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

Deployment Dependencies

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.


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