Skip to content

Self-hosting n8n#

This section provides guidance on setting up n8n for both the Enterprise and Community self-hosted editions.

  • Installation and server setups

    Install n8n on any platform using npm or Docker. Or follow our guides to popular hosting platforms.

    Docker installation guide

  • Configuration

    Learn how to configure n8n with environment variables.

    Environment Variables

  • Users and authentication

    Choose and set up user authentication for your n8n instance.


  • Scaling

    Manage data, modes, and processes to keep n8n running smoothly at scale.


Self-hosting knowledge prerequisites

Self-hosting n8n requires technical knowledge, including:

  • Setting up and configuring servers and containers
  • Managing application resources and scaling
  • Securing servers and applications
  • Configuring n8n

n8n recommends self-hosting for expert users. Mistakes can lead to data loss, security issues, and downtime. If you aren't experienced at managing servers, n8n recommends n8n Cloud.