Free guide · A2
How to get your LLM API keys
Your agent's “brain” is an LLM, reached through an API key. This guide shows where to generate one, how to paste it into n8n's credential store (never into a prompt), and how to set a spend cap so a runaway loop can't surprise you.
Keep it safe
Treat a key like a password. Store it in n8n credentials, rotate it if it leaks, and set a monthly budget in your provider dashboard.