mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
655 B
655 B
| title | description | contentType | tags | hide | |||
|---|---|---|---|---|---|---|---|
| AI environment variables | Manage AI features in your n8n instance. | reference |
|
|
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. |