---
title: "Deploy Crewaid"
description: "A crew of AI teammates for founders and small teams."
category: "Bots"
url: https://railway.com/deploy/crewaid
---

# Deploy Crewaid

A crew of AI teammates for founders and small teams.

**[Deploy Crewaid on Railway](https://railway.com/template/crewaid)**

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

- **Creator:** Exe Natanael's Projects
- **Category:** Bots

## Template content

### crewaid

- **Source:** Natanael-Exe/crewaid
- **Health check:** /health
- **Public domain:** Yes

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

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

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

## Documentation

# Deploy and Host Crewaid on Railway

Crewaid is an open-source platform for self-hosting AI teammates. Each bot has its own Linux desktop and can browse, use skills, and collaborate with other bots. Use Crewaid Lite to assign work and watch your bots’ desktops live.

## About Hosting Crewaid

This template deploys the Crewaid Orchestrator, Postgres, and Redis. Railway configures private database connections, generates authentication and encryption secrets, and mounts a volume for attachments and deliverables. The Orchestrator applies database migrations at startup.

1. Create a scoped [Instabox](https://instabox.sh) API key with machines:read, machines:write, and machines:delete permissions. Enter it as INSTABOX_API_KEY when you deploy.
2. When the Crewaid service is healthy, copy its public HTTPS URL from Railway.
3. Install Crewaid Lite for [macOS](https://downloads.crewaid.io/desktop/selfhosted/mac) or [Windows](https://downloads.crewaid.io/desktop/selfhosted/windows). Paste the URL, create an account, and connect a model provider in the app.

## Common Use Cases

- Assign web research and review the results in Crewaid Lite.
- Set up recurring routines for work your team repeats.
- Give different tasks to bots with separate Linux desktops.

## Dependencies for Hosting

- Instabox provides the Linux desktops for bots.
- A model provider account and credentials let your bots run AI models.
- The template provisions Postgres, Redis, and file storage on Railway.

## Why Deploy on Railway?

Railway provisions the application, private databases, and volumes together, and gives the Crewaid Orchestrator a public HTTPS URL for the desktop app.

## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Nov ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Nov ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with WebSocket event streaming

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