---
title: "Deploy OpenClaw with a browser setup wizard"
description: "OpenClaw with a browser setup wizard – Discord, Telegram & Slack ready"
category: "AI/ML"
url: https://railway.com/deploy/openclaw-8
---

# Deploy OpenClaw with a browser setup wizard

OpenClaw with a browser setup wizard – Discord, Telegram & Slack ready

**[Deploy OpenClaw with a browser setup wizard on Railway](https://railway.com/template/openclaw-8)**

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

- **Creator:** Péter Szél's Projects
- **Category:** AI/ML
- **Total deploys:** 3

## Template content

### openclaw-railway-template https://github.com/openclaw.png

- **Source:** szelpe/openclaw-railway-template
- **Health check:** /setup/healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host OpenClaw on Railway

OpenClaw is a self-hosted AI agent that you chat with through Discord, Telegram or Slack. It can run commands, manage files and automate tasks using the model provider of your choice (Anthropic, OpenAI, OpenRouter and others). This template deploys it with a browser-based setup wizard, so no terminal is needed.

## About Hosting OpenClaw

The template runs a small wrapper service on Railway's public port. The wrapper serves the setup wizard at `/setup` and starts the OpenClaw gateway internally. All configuration, credentials and workspace files are stored on a Railway volume at `/data`, so they survive redeploys.

After deploying:
1. Open `https:///setup`
2. Log in with the `SETUP_PASSWORD` from the service's Variables tab (username can be anything)
3. Pick your model provider, paste your API key and your Discord (or Telegram/Slack) bot token
4. Click **Run Setup**, then DM your bot and approve the pairing code in `/setup`

What's included:
- OpenClaw pinned to a tested release, so it won't break with upstream changes
- Persistent volume at `/data` for config, credentials and workspace
- Auto-generated setup password and gateway token per deployment
- Fixed Discord channel setup (uses the current `dmPolicy` config key)

## Common Use Cases

- A personal AI assistant you can message from Discord, Telegram or Slack
- Hands-on workshops and trainings where every participant deploys their own agent
- Experimenting with autonomous agents, skills and tool use in an isolated environment

## Dependencies for OpenClaw Hosting

- An API key from a supported model provider (e.g. Anthropic, OpenAI, OpenRouter)
- A bot token for at least one chat platform (Discord, Telegram or Slack)

### Deployment Dependencies

- OpenClaw docs: https://docs.openclaw.ai
- Discord bot setup: https://docs.openclaw.ai/channels/discord
- Original template: https://github.com/arjunkomath/openclaw-railway-template

### Implementation Details

For Discord, enable **Message Content Intent** for your bot in the Discord Developer Portal, otherwise the bot connects but can't read messages.

## Why Deploy OpenClaw 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 OpenClaw 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/openclaw-8
