mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-04-02 20:38:47 +07:00
14 lines
423 B
Markdown
14 lines
423 B
Markdown
---
|
|
description: Set up basic access authentication (basic auth) in n8n
|
|
---
|
|
|
|
# Basic access authentication
|
|
|
|
You can choose to use basic auth instead of n8n's [built-in user management](/hosting/authentication/user-management-self-hosted/). Activate it by setting the following environment variables:
|
|
|
|
```bash
|
|
export N8N_BASIC_AUTH_ACTIVE=true
|
|
export N8N_BASIC_AUTH_USER=<USER>
|
|
export N8N_BASIC_AUTH_PASSWORD=<PASSWORD>
|
|
```
|