Skip to content

Commit 70158e8

Browse files
committed
doc: update railway integration guide for serverless (#3897)
1 parent cda2ab5 commit 70158e8

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

website/src/content/docs/connect/railway.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Railway will automatically deploy your RivetKit app on every git push.
4141

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

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

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

5655
Detailed steps are available on [Railway's docs](https://docs.railway.com/guides/variables#service-variables).
5756
</Step>
58-
<Step title="Verify Deployment">
57+
<Step title="Connect to Rivet">
58+
59+
1. In your Railway project, go to **Settings > Networking**
60+
2. Click **Create Custom Domain**
61+
3. Click **Create Domain** to generate a Railway domain (e.g. `my-app.railway.app`)
62+
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`)
63+
5. Click "Done"
64+
65+
</Step>
66+
<Step title="Test Your Deployment">
67+
68+
Visit your Railway frontend to see everything working.
5969

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

6372
</Steps>

0 commit comments

Comments
 (0)