This page was translated from Dutch with AI.

Why your workflow needs its own API key

You are building your first workflow in n8n. Everything goes smoothly, until you add an AI step. Then the programme asks for a credential, and you might think: I already pay for Claude or ChatGPT, right? That question also came up in my last training on n8n. And it makes perfect sense, because no one has ever explained to you that those are two different things.

I showed it step by step there. So if you are also stuck with a key you do not understand, you have come to the right place.

Copy the prompt at the bottom of this article. With that, you let your own AI guide you through your first API key.

Cartoon
Een API-key is geen abonnement: waarom je workflow een eigen sleutel nodig heeft

Your subscription belongs to the app

Your subscription to Claude or ChatGPT is actually a subscription to their app. That is where you chat, where your projects and your history are. A tool like n8n does not use that app. It talks directly to the language model, via an API. And for that you need an API key, a key you create yourself.

I say in the training: with that key you actually give your brain to your tools. From that moment on, your workflow can read and answer texts. Only you pay for that separately from your subscription, per use. Sometimes you also need a paid account before you can make such a key.

In the demo you immediately saw what that means. I linked Gemini to a small chatbot and typed 'I am Steff'. It said a friendly hello. Then I asked what my name was, and it did not remember. So you give your workflow a brain, but no memory. You add that memory in n8n yourself, with a separate step. In the chat app, the app simply arranges that for you, without you seeing it.

This is how you make your first key

With Google it goes like this. You surf to aistudio.google.com and scroll down, to the little key. There you click on 'Get API key' and make a new key. I would always give it a name that says what it is for. That way you will know later which key is in which workflow.

With a regular Gmail account you get a free key. It does run out quickly. In n8n you also see free credits, and those are there to play with. If you really want to get to work, you will end up with a paid account.

Then choose a model that fits your task. For a simple chatbot I take a lighter model, because a Pro model is simply not needed there. And if you do not know which model fits, you ask the AI itself. It usually knows what to say.

Frequently asked questions

Why does my subscription to ChatGPT or Claude not work in n8n?

Your subscription belongs to the provider's app. A tool like n8n talks directly to the model via an API, and for that you make a separate API key. You pay for that per use.

Where do I find an API key for Gemini?

In Google AI Studio, at aistudio.google.com. At the bottom is a little key with 'Get API key', there you create a new key. Give it a name that says what it is for.

Can I paste my API key in a chat to test something?

I would rather not do that. A key is a secret, just like a password. Fill it in the credential field of your tool, or ask your agent to set up a safe way.

Where do I learn to build workflows with AI?

In 'AI automation with n8n and MCP' you build workflows yourself and link your own models. For working with an agent on your computer, 'Claude AI Power User' also fits. You can find all dates at Workshops & Events.

Keep reading for free

Register free with your e-mail address and read on. Your account opens the free articles in the learning space; the rest is for subscribers, from Learn Plus up.

Already registered? No account yet?

No comments yetRead the comments

Comments

Members comment here and read each other's comments. Register for free or sign in to join the conversation.

Register for free or sign in

No comments yet. What do you take away?

    QR code of this page

    coachsteff.live/en/een-api-key-is-geen-abonnement

    Scan with your phone to open the page.