If you work in IT at a Canadian mid-size organization, there is a fair chance someone has already wired corporate data into a public AI tool with a free automation account. You do not want to crush their initiative, because they are usually solving real operational bottlenecks. You just want the data to stay inside your perimeter, the credentials out of plain text, and the audit logs somewhere you can actually read them.
This guide is part of the 808 Data implementation series alongside The AI Strategy Playbook and our companion guides on Ollama and the Model Context Protocol (MCP). It walks you through deploying a production-grade, self-hosted n8n instance tailored for AI workflows and agents, without the marketing fluff.
1. What It Is and When to Use It (and When Not To)
n8n is a workflow automation platform that you can self-host or run on cloud plans (Starter, Pro, Business—which is self-hosted only—and Enterprise) [N1, N11, N14]. In the context of AI, it acts as the orchestration layer: it connects triggers, business applications, data sources, and large language models (LLMs) [N13]. Out of the box, n8n connects to LLM providers such as OpenAI, Anthropic, and Google, and its pricing page lists an AI Agent node, an MCP Server Trigger, an MCP Client, and human approval for tool calls on all cloud plans (check this for your self-hosted version/edition) [N13].
Relative to emerging protocols, it is already an established tool: over a 12-month worldwide period, Google Trends averaged 53–60 for n8n compared to 24–28 for "MCP server" [M9].
When to use it:
- You need to glue internal systems together with LLMs and require human-in-the-loop approvals before an AI agent executes a tool call [N13].
- You want to consume external tools via the MCP Client or expose n8n workflows as standardized tools to other AI applications using the MCP Server Trigger [N13, M1].
- You want control over where execution data lives by hosting the platform on your own Linux infrastructure backed by PostgreSQL [N4, N5].
When not to use it (or at least not the free tier):
- You need enterprise governance on a zero-dollar budget. Without a licence key, n8n runs as the free Community edition [N11]. While registering your Community instance with an email unlocks folders, debugging in the editor, and custom execution data, the Community edition lacks SSO (SAML/LDAP), external secrets, environments, custom variables, external binary storage, log streaming, projects, sharing, multi-main setups, and Git version control [N11]. If your security policy mandates SAML, external secret vaults, or log streaming, you must budget for the self-hosted Business or Enterprise plans [N11, N14]. Read n8n's current licence terms (the Sustainable Use License) before you deploy, especially if you plan to offer workflows to anyone outside your organization.
- You expect a casual single-container setup to handle heavy multi-user production. The default SQLite database is not recommended for multi-user production and is not supported in queue mode [N5].
THE REST OF THIS GUIDE IS FOR PRO MEMBERS
Keep reading with Pro, C$10 a month.
You've read the free part. Pro opens the rest of this guide and every other guide in the library, with PDF downloads.
- 2. Reference Architecture for a Mid-Size Org
- 3. Prerequisites Checklist
- 4. Step-by-Step Deployment (Production-Minded)
- 5. Security Hardening Checklist
- 6. Governance: Mapping to the Four-Tier Risk Model
- 7. Operations: Updates, Backups, Monitoring, and Capacity
- 8. Common Pitfalls
- 9. "Your First Week" Plan
Sources
Every fact in this guide comes from the official documentation below, checked on 19 Nov 2026. A code like [N4] in the text links to its source here.
- N1 n8n docs: hosting options
docs.n8n.io/hosting - N2, N3, N10 n8n docs: Docker installation (versions, updates, tunnel warning)
docs.n8n.io/hosting/installation/docker - N4, N5, N6, N7 n8n docs: production requirements (ports, database, encryption key, reverse proxy)
docs.n8n.io/deploy/host-n8n/install-options/production-requirements - N8 n8n docs: security environment variables
docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/security - N9 n8n docs: nodes environment variables
docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/nodes - N11 n8n docs: Community edition features
docs.n8n.io/deploy/host-n8n/community-edition-features - N12 n8n docs: queue mode environment variables
docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/queue-mode - N13, N14 n8n docs: advanced AI, and the n8n pricing page
docs.n8n.io/advanced-ai · n8n.io/pricing - O1 Ollama: download page and FAQ
ollama.com/download · docs.ollama.com/faq - O2 Ollama docs: GPU support
docs.ollama.com/gpu - O3, O4, O6, O10 Ollama docs: FAQ (context length, network, model storage, tuning, local-only mode)
docs.ollama.com/faq - O7 Ollama docs: API and OpenAI compatibility
docs.ollama.com/api · docs.ollama.com/openai - O8 Ollama docs: Modelfile and importing models
docs.ollama.com/modelfile · docs.ollama.com/import - O9 Ollama on GitHub (MIT licence)
github.com/ollama/ollama - O11 Ollama latest release on GitHub
github.com/ollama/ollama/releases/latest - M1 Model Context Protocol: home page
modelcontextprotocol.io - M2, M3 MCP docs: architecture, and the 2026-07-28 specification
modelcontextprotocol.io/docs/learn/architecture - M4 MCP specification: transports
modelcontextprotocol.io/specification/latest/basic/transports - M5 MCP specification: authorization
modelcontextprotocol.io/specification/latest/basic/authorization - M6 MCP specification: security best practices
modelcontextprotocol.io/specification/latest/basic/security_best_practices - M8 MCP on GitHub: the official MCP Registry
github.com/modelcontextprotocol/registry - M9 Demand data: pypistats for the mcp package (Google Trends comparisons run 19 Nov 2026)
pypistats.org/packages/mcp