← All deployment guides
Railway

Deploy OpenClaw to Railway

One-click deploy from GitHub. Ideal for rapid prototyping and small teams.

01

Connect Your Repo

Push OpenClaw to GitHub, then connect your repository to Railway from the dashboard.

# Push to GitHub

git remote add origin https://github.com/your-username/openclaw.git

git push -u origin main

02

Configure Environment

Add your API keys and environment variables in the Railway project settings.

# Required env vars in Railway

ANTHROPIC_API_KEY=sk-ant-...

OPENROUTER_API_KEY=sk-or-v1-...