Integrations
Railway
Service deployments, environment management, and infrastructure scaling
The Railway connector provides 25 actions for managing services, deployments, databases, and environment variables on Railway.
Setup
Connect via API Token
- Go to Settings → Integrations → Railway
- Click Connect
- In Railway dashboard, go to Account Settings → Tokens
- Create a new API token
- Paste the token in Keva
- Select projects to access
Token Permissions
Railway tokens have full access to your account. Create a dedicated token for Keva with appropriate project access.
Available Actions (25)
Services
| Action | Description |
|---|---|
| List services | Get all services in project |
| Get service | Service details and config |
| Create service | Deploy new service |
| Delete service | Remove a service |
| Restart service | Restart running service |
| Get service logs | Application output |
Deployments
| Action | Description |
|---|---|
| List deployments | Get deployment history |
| Get deployment | Deployment details |
| Trigger deploy | Start new deployment |
| Rollback deployment | Revert to previous |
| Cancel deployment | Stop in-progress deploy |
Environment Variables
| Action | Description |
|---|---|
| List variables | Get all env vars |
| Get variable | Single variable value |
| Set variable | Create/update variable |
| Delete variable | Remove variable |
Databases
| Action | Description |
|---|---|
| List databases | Get database services |
| Get database | Connection info and stats |
| Reset database | Clear and restart |
Projects
| Action | Description |
|---|---|
| List projects | Get all projects |
| Get project | Project configuration |
| Get usage | Resource consumption |
Use Cases
Service Down
Customer: "Our API service isn't responding"
AI:
1. Calls get_service(api-service-id)
2. Checks status: crashed
3. Calls get_service_logs() for errors
4. Reports: "OOM error, memory exceeded"
5. Offers to restart with more memoryDeploy Update
Customer: "Push the latest changes to staging"
AI:
1. Calls trigger_deploy(staging-service)
2. Monitors deployment progress
3. Reports: "Deployed commit abc123"
4. Shares deployment URLDatabase Issue
Customer: "Need to reset our dev database"
AI:
1. Confirms: development environment only
2. Calls reset_database(dev-postgres)
3. Reports: "Database reset complete"
4. Provides new connection stringConfiguration
- Project access: Which Railway projects AI can manage
- Service control: Enable/disable restart/deploy actions
- Variable access: Allow environment variable changes
- Database write: Enable database operations