---
title: "Deploy Paperclip"
description: "Deploy Paperclip in one click with persistent volume storage."
category: "AI/ML"
url: https://railway.com/deploy/paperclip
---

# Deploy Paperclip

Deploy Paperclip in one click with persistent volume storage.

**[Deploy Paperclip on Railway](https://railway.com/template/paperclip)**

- **Creator:** Social Freak Network
- **Category:** AI/ML
- **Total deploys:** 605

## Template content

### Paperclip https://paperclip.ing/favicon.svg

- **Source:** Lukem121/paperclip-railway-template
- **Health check:** /api/health
- **Public domain:** Yes

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

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

## Documentation

# Deploy and Host Paperclip on Railway

Paperclip is open-source orchestration for running companies with AI agents. You define goals, hire agents (Claude, Codex, OpenClaw, and others), set budgets and heartbeats, and Paperclip coordinates work via org charts, ticketing, and governance so your business runs with minimal hands-on management.

## About Hosting

This template gives you a one-click deploy: a Railway project with the Paperclip app (built from a pinned upstream release), a managed Postgres service, and a volume for app data. A lightweight wrapper serves a setup page at `/setup` where you generate your first admin invite and optionally authenticate Codex or Claude for agents. No SSH or log scraping—bootstrap is done in the browser. You set the required env vars (e.g. `DATABASE_URL` from Postgres, `BETTER_AUTH_SECRET`, `PAPERCLIP_PUBLIC_URL`), enable an HTTP proxy on port 3100, set the healthcheck path to `/setup/healthz`, and mount a volume at `/paperclip`. After that, create your first admin from the invite link and use Paperclip at `/` as usual.

## Common Use Cases

- Running an autonomous AI company with goals, org charts, heartbeats, and per-agent budgets
- Coordinating multiple agents (Codex, Claude, OpenClaw, etc.) from one dashboard
- Self-hosting Paperclip with managed Postgres and minimal ops

## Dependencies for Paperclip Hosting

- **PostgreSQL** — Railway Postgres is included in the template; the app uses it for auth and data
- **OpenAI API key** (optional) — For agents using the Codex adapter; set `OPENAI_API_KEY` and run Codex login from `/setup` or let the wrapper run it at startup
- **Anthropic API key** (optional) — For agents using the Claude adapter; set `ANTHROPIC_API_KEY` in Railway variables

### Deployment Dependencies

- [Paperclip](https://github.com/paperclipai/paperclip) — upstream app and docs
- [Paperclip site](https://paperclip.ing/) — product overview
- [This template](https://github.com/Lukem121/paperclip-railway-template) — source and support

## Why Deploy

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 Paperclip 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.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

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