▶YouTube
AI Skills

How to Install the n8n Self-Hosted AI Starter Kit

November 12, 2026 · NextGenTip · 21 views

An open-source Docker Compose template that sets up a complete local AI environment in one go: n8n, Ollama, Qdrant and PostgreSQL for building self-hosted AI workflows.

What is the n8n Self-Hosted AI Starter Kit?

The n8n Self-Hosted AI Starter Kit is an open-source Docker Compose template that sets up a complete local AI and low-code environment in one go. It is curated by n8n and published on GitHub as n8n-io/self-hosted-ai-starter-kit. It bundles self-hosted n8n with a set of compatible AI tools: Ollama for running language models locally, Qdrant as a vector store, and PostgreSQL as the database.

Instead of installing each piece separately, you start one template and get a working environment for building self-hosted AI workflows.

What can you do with it?

How to install the starter kit

You need Docker installed first. Then clone the repository. Open a terminal and run:

git clone https://github.com/n8n-io/self-hosted-ai-starter-kit.git

Move into the folder and copy the example environment file:

cd self-hosted-ai-starter-kit
cp .env.example .env

Open the .env file and update the secrets and passwords inside it. Then start the stack with Docker Compose:

docker compose up

If you have an Nvidia GPU and have set it up with Docker, use the GPU profile instead:

docker compose --profile gpu-nvidia up

Wait for the services to start, then open n8n in your browser and begin building.

First steps after installing

Start with a small workflow, such as an agent that summarises a PDF or a bot that answers questions from your own documents. Because everything runs locally, your files stay on your machine. Check the Ollama service first if a model does not load: it needs to download the model the first time you use it.

Change the default passwords in the .env file before exposing anything outside your own network. The template is built for local use, so treat the default secrets as placeholders, not as settings to keep.

Frequently asked questions

Is the starter kit free? Yes. It is an open-source project on GitHub, and you can download and use it free of charge. Note that the language models run locally, so there are no per-message API charges, but you need a machine that can run them.

Is it hard to install? No, if you already use Docker. Clone, copy the environment file, and start the stack.

Do I need a GPU? No. The standard profile runs without one; the GPU profile is only for faster local model inference.

← Back to all guides

Comments (0)

Leave a comment