diff --git a/docs/integrations/n8n.mdx b/docs/integrations/n8n.mdx index c58967fa..4a3681ed 100644 --- a/docs/integrations/n8n.mdx +++ b/docs/integrations/n8n.mdx @@ -25,8 +25,23 @@ Install [n8n](https://docs.n8n.io/choose-n8n/). width="75%" /> -3. Confirm Base URL is set to `http://localhost:11434` and click **Save** - If connecting to `http://localhost:11434` fails, use `http://127.0.0.1:11434` +3. Confirm Base URL is set to `http://localhost:11434` if running locally or `http://host.docker.internal:11434` if running through docker and click **Save** + + +In environments that don't use Docker Desktop (ie, Linux server installations), `host.docker.internal` is not automatically added. + +Run n8n in docker with `--add-host=host.docker.internal:host-gateway` + +or add the following to a docker compose file: + +```yaml +extra_hosts: + - "host.docker.internal:host-gateway" +``` + + +You should see a `Connection tested successfully` message. + 4. When creating a new workflow, select **Add a first step** and select an **Ollama node**