Skip to content

Railway

Select a Template

Overview

Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud. This integration allows you to seamlessly connect your Postgres, Redis, MySQL, or Mongo databases hosted on Railway to your Vercel production and preview deployments.

Additional Information

How to use the integration

  1. Login or signup to Railway with email or GitHub
  2. Select the Railway project and Vercel project you want to connect together
  3. Select which Railway environments you want to connect to the Vercel production and preview deployments
  4. Click connect. Railway will now keep your Vercel environment variables up to date with your Railway project

What the integration does

This integration will provide your Vercel production and preview deploys with access to your Railway project variables. You can configure which Railway environment will be connected to each Vercel environment individual.

For example, if you have a Railway project with the Postgres plugin, the DATABASE_URL variable will be available to your Vercel deployments.