| #269

How to give Claude or ChatGPT an API key to manage your apps

Want to see these tips early? Subscribe to the newsletter!


💡
Correction, October 28, 2026: I originally recommended pasting your API key directly into AI chat. That was unsafe advice, and I’m sorry. I take full responsibility for that oversight. I’ve updated the instructions below. If you already followed that advice, revoke or regenerate the key in the app that issued it, update any tools that use it, and check for activity you don’t recognize.

As you probably know, I don’t have a technical background, so when I first needed a website back in 2020, I paid about $5,000 in freelancer fees, and over the years I’ve paid roughly $2,000 more for small changes I didn’t know how to make myself: adding custom designs, updating tags in bulk, etc.

Since last year though, every single change I’ve made to my website has been done with either Claude or ChatGPT Work; I connect them to my apps using something called an “API key” and just say what I want in plain English!

And you probably didn’t know this, but you can do the same with most of the tools you already pay for, even if you’ve never touched a connector or plugin.

What an API key actually is

Most apps you pay for have two doors:

  1. The screens (front-end user interface) are the door built for people.
  2. The API (application programming interface) is the door built for software, and the API key is the pass that opens it.

Connectors and plugins (features you’re probably familiar with) are pre-built ways of walking through that second door. The API key lets your AI walk through it directly, today, for any tool nobody built a connector for.

A connector is a pre-built bridge between your AI and an app; an API key lets your AI reach the app directly.

In practice, the AI uses the API key to “read” what’s currently in your account, make the change, then update you in chat!

How I run my website now

My site runs on a platform called Ghost, where I can create an Admin API Key in settings. The software can use that key through secure storage (more on that in Step 2).

Ghost’s Integrations settings with a custom integration named Claude Cowork.

Here are two recent tasks where this workflow saved me HOURS:

  1. I asked the Claude desktop app to rewrite my /ai/ page and update the publish dates on all 23 pages of the site.
  2. I asked it to completely revamp my Links page and fix a few layout issues on other pages. It made the changes, then re-checked the live pages at phone width and desktop width before telling me it was done.

Try it on a tool you already use

If you use the Claude desktop app or ChatGPT Work/Codex, I highly recommend you try this out yourself with a basic task.

Step 1: Find your key

Most tools keep it under Settings (these are just a few examples):

  • Notion: the developer portal > create a connection > copy its API token, then share the pages you want it to touch with that connection.
  • Airtable: airtable.com/create/tokens, where you pick which bases it can see.
  • Typeform: Account > Personal tokens.
  • Todoist: Settings > Integrations > Developer > Copy API token.
  • Calendly: Integrations > API & Webhooks > Get a token.
  • Mailchimp: Profile > Extras > API keys.

Step 2: Store the key securely, then give the AI your task

For a tool running on your computer, store the key in Keychain on Mac or Credential Manager on Windows. A trusted tool can retrieve it when making requests to the app, without displaying it in the conversation or its output.

Enter the key yourself during the private setup. Don’t paste it into chat or upload a file containing it. A plain .env file is still readable text, so I wouldn’t make that the default here.

Use this prompt to get help with the setup and your first task:

I want to use [platform]’s API to [describe the change you want].

Help me set up a local tool that retrieves the key from [Mac Keychain / Windows Credential Manager]. Show me how to enter the key privately, without putting it into this chat. The tool should use it only to contact [platform] and keep it out of its output and logs. If this environment can’t support that setup, explain what’s missing before proceeding.

Once the connection works, show me exactly what you plan to change and wait for my approval. After the change, read it back from the platform and confirm it matches.

These instructions help you request the right setup, but the tool itself needs to handle the key safely. If you can’t confirm that, get help checking the setup before giving it access.

Step 3: Treat the key like a password

Keep the key out of chats, shared documents, and uploaded files. Secure storage protects the saved key, but software you authorize to retrieve it can still use its access. Give it the smallest access the platform allows, and revoke or regenerate it when the job is done.

I regenerate mine after big batches of changes. On a company account, check with IT first, since some tools only let an admin create a key.

Two ways into an app: clicking through its screens yourself, or your AI going through the software door with your key.

So next time you’re about to click through a settings page, or pay someone to make a change you can’t make yourself, find the key first. Let me know what you get your AI to change this week! 😁


Whenever you’re ready, here are some other ways I can help you:

🎛️ The Cowork Academy: Ready-to-install AI Command Center that loads your context automatically and makes every Claude session sharper than the last. 90% built when you download it.

💻 The Workspace Academy: Never lose a file, task, or note again with my CORE workflow for Google Workspace. Adopted by over 10,000 Googlers.

✅ Build Your Command Center in Notion: Plug-and-play dashboard that surfaces today’s priorities automatically and organizes your life in seconds. #1 rated Notion Course globally.