---
title: "Deploy Langflow (w/ admin login)"
description: "Langflow with admin login set on deploy, private Postgres and saved files."
category: "AI/ML"
url: https://railway.com/deploy/langflow-w-admin-login
---

# Deploy Langflow (w/ admin login)

Langflow with admin login set on deploy, private Postgres and saved files.

**[Deploy Langflow (w/ admin login) on Railway](https://railway.com/template/langflow-w-admin-login)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/langflow-w-admin-login/manifest.json

- **Creator:** AvgSoft
- **Category:** AI/ML

## Template content

### Postgres https://cdn.jsdelivr.net/gh/mikedepo/railway-template-assets@7c3d7b6a584cefada441adb475d6ab3c708cf19c/service-icons/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Langflow https://cdn.jsdelivr.net/gh/mikedepo/railway-template-assets@d71da0b655bb4da52cd83b0fba724a551ac4a7d1/service-icons/langflow.svg

- **Image:** langflowai/langflow:1.13.0
- **Health check:** /health_check
- **Public domain:** Yes

## Documentation

# Deploy and Host Langflow (w/ admin login) on Railway

Langflow is a visual builder for AI agents and LLM workflows. Recent Langflow releases won't start without an admin password, so this template asks for your login on deploy, keeps your files on a volume and the database private.

![Langflow AI agent builder on Railway](https://cdn.jsdelivr.net/gh/mikedepo/railway-template-assets@3982efa6b1fa6fd3c098689ed1cad3e5beb4d772/langflow/banner.png)

## About Hosting Langflow (w/ admin login)

You get Langflow 1.13.0, private Postgres and a volume for uploads and knowledge bases, with the encryption key generated per deploy. Type the admin password (and optionally an OpenAI or Anthropic key), then open your Langflow URL and log in. Public sign-up is off; the admin adds users.

## Common Use Cases

- AI agents with tools
- Chatbots over your documents
- LLM workflows behind an API

## Dependencies for Langflow (w/ admin login) Hosting

- PostgreSQL

### Deployment Dependencies

- [Langflow authentication settings](https://docs.langflow.org/api-keys-and-authentication)
- [Langflow environment variables](https://docs.langflow.org/environment-variables)

### Implementation Details

![Architecture: you and your apps reach Langflow over HTTPS; Postgres stays on the private network; Langflow calls your model providers](https://cdn.jsdelivr.net/gh/mikedepo/railway-template-assets@3982efa6b1fa6fd3c098689ed1cad3e5beb4d772/langflow/architecture.png)

Needs about 1.5 GB of memory, so a Hobby plan or higher. Back up the Langflow volume (uploads, knowledge bases) and keep `LANGFLOW_SECRET_KEY`: it encrypts your saved API keys.

## Why Deploy Langflow (w/ admin login) on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Langflow (w/ admin login) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


**Updated 2026-10-28:** first release, Langflow 1.13.0.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius v0.1 Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/langflow-w-admin-login
