Get an AI key (OpenAI, Anthropic, or Gemini)
Pinners Haven generates on your own AI account. Here's how to get a key, what it costs, and why one key is all you need.
Screens in this article
Open these alongside the guide. Every screenshot below was captured from exactly these routes.
- /settings/ai-credentials
- /settings/ai-credentials/new
- /projects/[id]/ai-providers
On this page11 sections


OpenAI
- 1
Create an OpenAI Platform account.
At platform.openai.com. A normal ChatGPT login works, but ChatGPT Plus doesn't include API access.
- 2
Buy credit.
In Billing. Keys return an error until the account has credit; $5 goes a long way.
- 3
Create a secret key and copy it.
On API keys. It starts with
sk-and is shown once.

Anthropic
- 1
Create a Claude Console account.
At platform.claude.com. The Console is separate from claude.ai; a Claude subscription doesn't include API access.
- 2
Buy some credit.
In Billing. API usage is prepaid.
- 3
Create an API key and copy it.
In API keys. It starts with
sk-ant-and is shown once.

Gemini
- 1
Open Google AI Studio.
At aistudio.google.com, signed in with any Google account.
- 2
Create an API key.
On the API keys page. Every key belongs to a Google Cloud project; a new one is fine.
- 3
Turn on billing for images.
Gemini's image models have no free tier, so image generation needs a project with billing enabled.

Key problems
My key shows "Failed" instead of "Connected"
Saving doesn't check the key; the app tests it just afterwards. It reads Untested, then Testing, then settles on Connected or Failed, and you get an email either way. A failed key stays switched off. To see why, open the key's menu and choose Test connection: it shows the provider's own words. Almost always the key was copied incompletely, the account has no credit yet, or the key was revoked. Fix it at your provider and test again; it switches itself back on once a test passes.
"Your AI key can't make pin content"
This shows on your dashboard, marked Critical, and the key carries a Billing badge. The line under it names the reason, most often "[provider] reported no credit on it". Top up at the provider, then open the key's menu and choose Test connection. As the dashboard says, "Every project uses it, so fixing it once fixes them all."
"This [provider] key is already saved on your account."
You already have a key for this provider. Bind a project to the existing credential instead of adding the key again.
"The [provider] provider does not support image generation. Use a different credential."
You're on an Anthropic key and something asked for an image. Add an OpenAI or Gemini key for image work; you can keep the Anthropic one for text.
"Rate limit reached for [capability] on the [provider] credential. Retry in [N] seconds."
Your provider is throttling you, not us. It clears on its own after the stated time. If it keeps happening, lower the per-minute budget on the key, or check your provider's account limits.
Did this get you unstuck?
One tap. It tells us which article to re-verify next.
Every screenshot here was re-captured against the shipping app, and each UI string was re-checked on the real screen.