Skip to content
Menu
vAndu
  • Home
  • Home Lab
  • AI/ML & vGPU
  • Snapshot
  • The Lab Floor
vAndu
03 n8n quick setup

03 n8n Quick Setup Guide

Posted on June 3, 2026June 3, 2026

Short description

n8n is a workflow automation platform with strong AI building blocks. You wire nodes together on a canvas to automate tasks and build agents.

Purpose and how people use it

People use n8n to connect apps and APIs and to build AI agents and pipelines without writing much code. Typical uses include automated research, data enrichment, chatbots, scheduled jobs, and tool using agents that call your local models. It sits in the orchestration layer of the stack.

Prerequisites

  1. Docker installed.
  2. Ollama running for the AI nodes.

Quick setup

mkdir -p ~/n8n && cd ~/n8n

cat > docker-compose.yml << 'EOF'
services:
  n8n:
    image: docker.n8n.io/n8nio/n8n:latest
    container_name: n8n
    restart: unless-stopped
    ports:
      - "5678:5678"
    environment:
      - GENERIC_TIMEZONE=Europe/Tallinn
      - TZ=Europe/Tallinn
      - N8N_SECURE_COOKIE=false
      - N8N_RUNNERS_ENABLED=true
    volumes:
      - n8n_data:/home/node/.n8n

volumes:
  n8n_data:
EOF

docker compose up -d

Open http://localhost:5678 and create your owner account.

To use your local models, add an Ollama credential and set the base URL to http://host.docker.internal:11434. You can then use Ollama inside the AI Agent and Chat nodes.

The one thing that trips everyone up

If the login page refuses to keep you signed in on a plain http setup, the fix is the N8N_SECURE_COOKIE=false line shown above. Without it, n8n expects https and the session cookie silently fails when you run locally.

Personal agent versus workflow agent

n8n offers a lightweight chat agent you configure in the UI, and a full agent you build on the canvas with tools and actions. For simple chat, the UI configured personal agent is quickest. For anything that needs to call tools or external systems, build it on the canvas.

Home Labber who likes to build things and push it to the limits. vSphere is like Lego for adults.

“The fastest way to learn IT is 80% labbing and 20% studying theory. Just do it and have fun.” – vAndu

“If you wish to achieve worthwhile things in your personal and career life, you must become a worthwhile person in your own self-development” – Brian Tracy

VMware vExpert 2023
VMware vExpert NSX
VMware vExpert Pro
©2026 vAndu | Powered by SuperbThemes!