Home » n8n» n8n API key – where to find guide

Guide: n8n API key – where to find?

This short guide explains n8n API key – where to find and gives a clear location. The key appears in the n8n web interface under Settings > API or in your user account on n8n.cloud. For self-hosted setups it is often set in your hosting environment or stored in a secrets manager.

What is the n8n API key and why it matters

The n8n API key is an authentication token. It allows tools and scripts to talk to your n8n instance. Keep it private. Treat it like a password. It protects workflows, webhooks, and automation endpoints.

Where to find the n8n API key – where to find

In the official n8n web app look for a Settings or API section. On n8n.cloud check your account or credentials area. If you use a packaged installer the key may be shown when you enable API access. If you do not see it, your instance may require creating an API credential.

How the API key appears across hosting options

  • n8n.cloud: visible in user or API credential pages inside the hosted dashboard.
  • Self-hosted (Docker, Node.js): often configured via environment variables or a secrets system and may not be displayed in the UI.
  • Enterprise installs: shown in admin or credential management pages, or delivered by your platform admin.

Best practices for using the API key

  • Limit where the key is stored. Use a secrets manager when possible.
  • Rotate keys if you suspect exposure.
  • Grant minimal access and review connected workflows regularly.
  • Log and monitor API usage for unusual activity.

Summary: You can find the n8n API key in the web UI under Settings > API or in your account on n8n.cloud. For self-hosted Docker or Node.js installs the key is often managed by your host and may require checking environment settings or a secrets store.

Neil
Written by Neil

Neil is a true n8n geek who lives and breathes workflow automation. He dives deep into nodes, triggers, webhooks, custom logic, and self-hosting setups, sharing everything he learns about n8n on AutomationCompare.com. As part of a broader team of automation specialists, Neil focuses purely on mastering n8n and helping others unlock its full potential.

Keep Reading

Scroll to Top