Blog·November 16, 2026·2 min read

Why your first AI-built app gets stuck on setup, not code

The AI writes your code in minutes. Then it asks for an API key and you are stuck. Here is why setup is the real wall, and how to get past it.

You describe the app. Your AI tool writes the code in a few minutes. It looks like it works.

Then it asks you for an API key, the password one app uses to talk to another. And that is where most first projects stall.

The code is the easy part now

Tools like Cursor, Lovable and Claude Code are good at writing code. What they can't do is go to Stripe or OpenAI for you, sign in as you, and come back with the key your app needs.

So the moment the AI says "now add your key", the work moves from the tool to you. You open a new tab, find the provider's dashboard, and start hunting.

Where people get lost

The steps are different on every site. The page that makes the key is two or three menus deep, and it is named something different each time: API keys, tokens, credentials, developer settings.

Then there is the part nobody warns you about: many providers show the key once. If you close that box before copying it, it is gone, and you make a new one.

And once you have it, you still need to put it in the right place in your project, with the exact name your code expects.

What to do about it

  • Ask your AI tool which keys the project needs, by name. Get the full list before you start, so you're not surprised halfway through.
  • Open each provider in its own tab and copy the key the moment it appears. Treat that box like it will vanish, because it often will.
  • Paste each key into your project's settings file, not into the chat. Your AI tool only needs the key's name to use it.

Where Footgun fits

Footgun Keys walks you through each provider's own website, step by step. It catches the key the moment the site shows it, saves it safely on your computer, and puts it where your project needs it. You never have to paste a key into your AI tool's chat.

Questions people ask

What is an API key?
A password one app uses to talk to another. Your app sends it with each request so the provider knows who is asking and who to bill.
Why do providers only show the key once?
So that anyone who gets into your account later can't read your old keys. It's safer for you, but it means you have to catch the key when it appears.
What if I lost a key?
Make a new one on the provider's site and delete the old one. Then update your project with the new key.

Every key your app needs, set up right the first time.

Footgun walks you through each provider's site and puts the key where your project needs it.

Get your keys