Skip to content

Add your own API keys

Add, test, replace or remove your own Anthropic, OpenAI, Pexels and remove.bg keys on the AI tab of Settings, and see what each key is used for.

All plansUpdated By

An API key is a code from your account with another service. When you add one to PlexiiDesk, PlexiiDesk can use that service for you, on your account. You can add keys for four services in Settings > AI, under AI · API keys: Anthropic, OpenAI, Pexels and remove.bg.

You do not need a key for most AI. Local on this device runs AI on this computer with no key, and once you are signed in, AI can run on your PlexiiDesk credits instead. This article helps you decide which keys you need, then shows how to add, test, replace and remove them.

Before you start

  • Plan: you can add your own keys on every plan.
  • You need an account with the service. You create the key on the service's own website. What PlexiiDesk does with your key counts towards your use of that service, under your account with it.
  • Keys stay on this computer. Each key is encrypted with your computer's secure storage and kept on this computer. Keys are not part of your PlexiiDesk account, your backups or your exports, so add them again on each computer you use.

Do you need a key?

Anthropic API key. PlexiiDesk uses your own Anthropic key for Plexii and its other AI features:

  • when AI · source is set to Your Anthropic key
  • with Plexii AI credits chosen and Automatic ticked, once your credits are used up
  • with Plexii AI credits chosen while you are not signed in
  • while Local on this device is your source, for writing, PlexiiWrite, PlexiiCells and PlexiiDeck drafts and Build with AI, unless you change Writing and drafts:. See Run AI on this computer with Local on this device.
  • for a feature you send to Your Anthropic key under Feature by feature

These features need your own Anthropic key, even when everything else runs on your credits:

What was I doing? needs the Anthropic key whatever your AI source is. The others also run on this computer when Local on this device is your AI source, and on OpenAI when Your OpenAI key is.

OpenAI API key. You need one for:

Your OpenAI key can also run PlexiiDesk's AI. Choose Your OpenAI key under AI · source to send AI requests straight to OpenAI with your key, or send single features to it under Feature by feature. While Local on this device is your source, a saved OpenAI key is used for writing and drafts in the same way as an Anthropic key.

Searching your workspace can also find documents and knowledge by meaning, not only by the exact words you use, and PlexiiAssist finds PlexiiBrain knowledge the same way when it looks for an answer. See About "ranked by meaning" for how it finds documents. The small search model that comes with Local on this device does this on your computer, and PlexiiDesk uses it first whenever it is downloaded, then a model running through Ollama if there is one. Only when neither is there, and your AI source is not Local on this device, and Background AI tasks is ticked in Settings, on the Data tab, under Privacy (it is off to start with), are the text of your documents and knowledge entries, and what you search for or ask, sent to OpenAI with your key. See Enrich documents with a local AI model.

Pexels API key (optional). It turns on stock photo search, the Stock button in PlexiiDesign.

remove.bg API key (optional). It turns on Remove background for images in PlexiiDesign.

For the PlexiiDesign tools, see Stock photos, AI images and background removal.

Add a key

  1. Click the gear at the right-hand end of the header. Its tooltip says Appearance settings, and it opens Settings.
  2. Click the AI tab.
  3. Scroll down to AI · API keys and find the row for the service.
  4. If you do not have a key yet, click the link under the row, such as Get a key from console.anthropic.com →. It opens the service's page for keys in your browser. Sign in there, create a key and copy it.
  5. Paste the key into the row's field. Before you paste, the field shows in grey how a key from that service usually starts, which helps you spot a key pasted into the wrong row.
  6. To check what you pasted, click Show. Click Hide to mask it again.
  7. Click Save key.

The field is replaced by the key masked with dots, ending in its last four characters, and a green Set label appears beside the row's name. The key works straight away; you do not need to restart PlexiiDesk.

The AI · API keys section of the AI tab, with empty fields for the Anthropic, OpenAI, Tenor and Pexels keys, each with Show, Save key and a link to get a key
Each service has its own row. Paste a key and click Save key.

The links under each row:

Row Link under the row
Anthropic API key Get a key from console.anthropic.com → (Anthropic's console now opens at platform.claude.com)
OpenAI API key Get a key from platform.openai.com →
Pexels API key Get a free key from Pexels →
remove.bg API key Get a key from remove.bg →

Check that a key works

Click Test beside the masked key. A line under the row shows the result.

Row What Test does What you see when it works
Anthropic API key Sends a one-word test request to Anthropic with your key. It uses a tiny amount of your Anthropic usage. Key works · followed by the name of the model that answered
OpenAI API key Asks OpenAI to confirm the key. Key works · whisper available.
Pexels API key Runs a small photo search. Key works · connected.
remove.bg API key Checks that a key is saved, without removing a background. Key works · connected.

Good to know:

  • OpenAI says Key works · no whisper model in account. The key is valid, but the OpenAI account it belongs to cannot transcribe with it. Check the key's account on OpenAI's site, or choose Local transcription, which needs no key.
  • remove.bg is checked when you first use it. remove.bg counts every background removal against your account, so the test does not run one. The key is checked the first time you remove a background.
  • The test failed. A red line explains why. Copy the whole key again from the service's site and use Replace to paste it. Also check, on the service's site, that the key is still active and that your account there is in good standing.

Replace a key

  1. Click Replace beside the masked key.
  2. Paste the new key into the field.
  3. Click Save key. To keep the old key instead, click Cancel.

Remove a key

  1. Click Remove beside the masked key.
  2. PlexiiDesk asks you to confirm, and says what stops working without the key. Confirm.

The line under the row says Key removed.

When you remove the Anthropic key and you are signed in, AI that runs on your credits keeps working. So does Local on this device, which needs no key. The features listed under Do you need a key? that always use your own key stop until you add one again. When you remove the OpenAI key, Local transcription keeps working.

Where your keys are kept

  • On this computer, encrypted. Each key is encrypted with your computer's secure storage. After you save a key, PlexiiDesk shows only its last four characters.
  • Your key, direct to the service. When PlexiiDesk uses your own key, requests go straight from your computer to that service.
  • Credits go through PlexiiDesk. When AI runs on PlexiiDesk credits, requests go through PlexiiDesk so their use can be counted against your balance. To have Plexii use your Anthropic key every time, choose Your Anthropic key under AI · source. See AI credits and where your AI runs.
  • Not in backups or exports. Keys are not included in a backup or an export of your workspace. After restoring a backup on another computer, add your keys again. See Back up and restore your workspace.

Common questions

I added my Anthropic key, but my credits are still being used. With Plexii AI credits chosen and Automatic ticked, PlexiiDesk uses your credits first and turns to your key when they run out. To use your key all the time, choose Your Anthropic key under AI · source.

The Save key button is greyed out. Paste a key into the field first. If a red line under the rows says system encryption isn't available, PlexiiDesk cannot store keys on this computer, so saving is turned off. You can still use AI on your PlexiiDesk credits by signing in, or on this computer with Local on this device.

A row says Restart needed. Quit PlexiiDesk and open it again, then try the row again.

My keys are missing on my new computer. Keys stay on the computer where you added them. Add them again on the new one.

Which key do I need to talk to Plexii? Turning your voice into text uses your transcription choice: Cloud needs an OpenAI key, Local needs none. Plexii's reply then runs wherever your AI source sends it, on this computer, on your credits or on your own key, like typing would. While Local on this device is your source, your speech is transcribed with Local and needs no key.

Does Test prove my remove.bg key works? It confirms a key is saved. The key itself is checked the first time you remove a background.

Still need help? Contact support at connect@plexiidesk.com.