Deploy Rivet

Deploy a starter application with Rivet and Postgres

Deploy Rivet

Rivet

rivet-dev/engine:local-20250926-165615

Just deployed

Postgres

railwayapp-templates/postgres-ssl:17

Just deployed

/var/lib/postgresql/data

Deploy and Host Rivet on Railway

Rivet manages stateful workloads for AI agents, durable compute, or realtime use cases.

About Hosting Rivet

Quickstart

Read the Rivet quickstart 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 & all of your actors

Connecting your app to Rivet

Get started with the Rivet quickstart 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
  1. Start your application
  2. 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 & 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.


Template Content

More templates in this category

View Template
Postgres-to-R2 Backup
Auto back up PostgreSQL databases to Cloudflare R2 with optional encryption

View Template
ReadySet
A lightweight caching engine for Postgres

View Template
Simple S3
Deploy a S3-compatible storage service with a pre-named bucket.