Integrations
Railway
Dun deploys Railway services, reads logs and metrics, and manages variables and databases.
Note
How to connect
Connect once from Integrations → Railway, then toggle on the products you want Dun to manage.
Step 1
Step 2
Step 3
Where to get credentials: https://railway.app/account/tokens
What Dun can do
Each product below is something you can turn on. The examples are real prompts you can type in a chat thread.
Projects & Services
List projects, services, and deployments; restart or delete a service; read deployment logs; and roll back a deployment.
Redeploy my Railway api service
Show recent logs for my worker serviceIn a playbook, bind railway.redeploy to run this as a step.
| Permission | Required | What it does |
|---|---|---|
| List projects + services | Yes | Discover projects, services, and deployments. |
| Restart / delete / rollback | Optional | Approval-gated service + deployment control. |
Variables
Read a service's variables (redacted), set or delete them, bulk-set, and copy variables between environments.
Set REDIS_URL on my Railway service| Permission | Required | What it does |
|---|---|---|
| Read variables (redacted) | Optional | List variable names and read resolved values. |
| Set / delete / copy variables | Optional | Approval-gated writes (may trigger a redeploy). |
Environments & Volumes
List environments and create or delete them, and list a project's volumes with their mount points and sizes.
Show me my Railway environments & volumes| Permission | Required | What it does |
|---|---|---|
| Read environments + volumes | Optional | Surface environments and volume detail. |
| Create / delete environments | Optional | Approval-gated environment provisioning. |
Metrics & Databases
Read service metrics (CPU / memory / network / disk) and manage Railway databases — list, connection details (redacted), metrics, and restart.
Show me my Railway metrics & databases| Permission | Required | What it does |
|---|---|---|
| Read metrics + databases (redacted) | Optional | Surface time-series metrics and DB connection vars. |
| Restart a database service | Optional | Approval-gated database restart. |