Skip to content

Self-hosting n8n#

This section provides guidance on setting up n8n for both the Enterprise and Community self-hosted editions. The Community edition is free, the Enterprise edition isn't.

See Community edition features for a list of available features.

  • 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.

    Authentication

  • Scaling

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

    Scaling

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.