Self-Hosting n8n on Railway

August 04, 2025
2 min read
Introduction to n8n and Railway
n8n is a powerful workflow automation tool that helps connect different services and automate tasks, ideal for personal or small-scale use.
Railway is a cloud platform that simplifies deploying and scaling applications, offering free and paid plans to fit various budgets.
Combined, these two make a powerful combination, and this post will show you how you can install the latest n8n on Railway by setting up a Docker service in minutes.
Setting Up Your n8n Instance
To get started, create a new n8n service on Railway:
- Sign up or log in at Railway.
- Go to https://railway.com/template/KONTiA?referralCode=codedgeekery
- Choose
Deploy Now
Give it a couple minutes and your n8n instance will be deployed, now you just have to set up your account.
Accessing n8n
Once deployed, go to your instance by clicking the URL in the primary container
- Create your user and sign in.
- Start adding your workflows and building your agents.