Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions website/src/content/docs/connect/railway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ Railway will automatically deploy your RivetKit app on every git push.

Detailed steps are available on [Railway's docs](https://docs.railway.com/quick-start).

<Note>You do not need to expose a container port. Rivet tunnels traffic directly to your backend.</Note>
</Step>
<Step title="Set Environment Variables">

Expand All @@ -55,9 +54,19 @@ To add your environment variables:

Detailed steps are available on [Railway's docs](https://docs.railway.com/guides/variables#service-variables).
</Step>
<Step title="Verify Deployment">
<Step title="Connect to Rivet">

1. In your Railway project, go to **Settings > Networking**
2. Click **Create Custom Domain**
3. Click **Create Domain** to generate a Railway domain (e.g. `my-app.railway.app`)
4. On the Rivet dashboard, paste your domain with the `/api/rivet` path into the connect form (e.g. `https://my-app.railway.app/api/rivet`)
5. Click "Done"

</Step>
<Step title="Test Your Deployment">

Visit your Railway frontend to see everything working.

You should see your runner connected on the Connect tab of your Rivet Dashboard. Now you can create and connect to your Rivet Actors.
</Step>

</Steps>
Loading