Files
n8n-docs/archive/ai.md
2025-09-10 10:16:20 +01:00

655 B

title, description, contentType, tags, hide
title description contentType tags hide
AI environment variables Manage AI features in your n8n instance. reference
environment variables
toc
tags

AI environment variables

--8<-- "_snippets/self-hosting/file-based-configuration.md"

Variable Type Default Description
N8N_AI_ENABLED Boolean false Whether AI features are enabled (true) or not (false). Enables Ask AI for the HTTP node.
N8N_AI_PROVIDER String openai The AI provider to use. Currently, n8n only supports OpenAI.
N8N_AI_OPENAI_API_KEY String - Your OpenAI API key.