---
title: "Deploy Rivet"
description: "Self-host Rivet on Railway"
category: "Storage"
url: https://railway.com/deploy/rivet
---

# Deploy Rivet

Self-host Rivet on Railway

**[Deploy Rivet on Railway](https://railway.com/template/rivet)**

- **Creator:** Rivet
- **Category:** Storage
- **Total deploys:** 27
- **Verified:** Yes

## Template content

### Rivet https://www.rivet.gg/icons/favicon-32x32.png

- **Image:** rivetkit/engine:latest
- **Start command:** `rivet-engine start`
- **Health check:** /health
- **Public domain:** Yes

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

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

## Documentation

# Deploy and Host Rivet on Railway

[Rivet](https://rivet.dev) manages stateful workloads for AI agents, durable compute, or realtime use cases.

## About Hosting Rivet


**Quickstart**

Read the [Rivet quickstart](https://www.rivet.dev/docs) to learn how to get started building backends with Rivet.

**Accessing the Rivet dashboard**

1. Navigate to _Rivet_ then _Variables_
2. Copy the secret value of `RIVET__AUTH__ADMIN_TOKEN`
3. Navigate to _Rivet_ then _Deployments_ and click the `*.railway.app` URL
4. Paste your token
5. You can now see the connected Railway runner &amp; all of your actors

**Connecting your app to Rivet**

Get started with the [Rivet quickstart](https://rivet.dev/docs) first.

1. Copy the public URL for the _Rivet_ service
2. Copy the token from the `RIVET__AUTH__ADMIN_TOKEN` variable on the _Rivet_ service
3. Run your RivetKit application with the environment vars:
  - `RIVET_ENGINE=https://your-app.railway.app`
  - `RIVET_TOKEN=your admin token`
4. Start your application
5. You should see your process listed under the _Runners_ tab on the Rivet Dashboard

## Common Use Cases

- AI agent orchestration
- Durable workflows
- Background jobs
- Multiplayer &amp; real-time apps
- Local-first sync
- Rate limiting
- Stream processing

## Dependencies for Rivet Hosting

_No dependencies_

### Deployment Dependencies

_No dependencies_

## Why Deploy Rivet 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 Rivet 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

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [EasyImg](https://railway.com/deploy/easyimg) — Simple self-hostable Nuxt.js personal image hosting system.

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