Deploy Rivet
Deploy a starter application with Rivet and Postgres
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
- Navigate to Rivet then Variables
- Copy the secret value of
RIVET__AUTH__ADMIN_TOKEN
- Navigate to Rivet then Deployments and click the
*.railway.app
URL - Paste your token
- You can now see the connected Railway runner & all of your actors
Connecting your app to Rivet
Get started with the Rivet quickstart first.
- Copy the public URL for the Rivet service
- Copy the token from the
RIVET__AUTH__ADMIN_TOKEN
variable on the Rivet service - Run your RivetKit application with the environment vars:
RIVET_ENGINE=https://your-app.railway.app
RIVET_TOKEN=your admin token
- Start your application
- 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