Documentation

Connect an AI

Penclerk writes replies with an AI service you connect, on your own API key. One connection serves every project in your account.

Which services

  • Claude, from Anthropic.
  • ChatGPT API, from OpenAI. It needs an API key: a ChatGPT Plus or Pro plan does not include one.
  • Gemini, from Google. It has a free tier, but Google may then use your emails for training, so use a paid key for client mail.
  • OpenRouter: one key for Claude, GPT, Gemini and many other models. Penclerk uses only providers that do not store your mail or train on it.

You pay the service directly, for what you use.

Get a key and connect it

  1. Open the account menu, under your initials, and choose “AI”.
  2. Choose the service. “Where to get a key” shows the steps for it and a link to the right page of its site.
  3. Create a key there, copy it and paste it into “API key”.
  4. Press “Check and connect”. Penclerk asks the service one short question to see that the key works.

Where each service keeps its keys:

  • Claude: console.anthropic.com, under Settings, then API keys.
  • ChatGPT API: platform.openai.com, under API keys.
  • Gemini: aistudio.google.com, under Get API key.
  • OpenRouter: openrouter.ai, under Settings, then Keys.

The key is stored encrypted and used only for your emails. Only the workspace owner can connect or change the AI.

If the key is refused

  • “The service didn't accept the key.” Copy the whole key again, and check that it has not been deleted on the service's site.
  • “The key works, but the account has no credit or hit its limit.” Top up with the service. An API account is billed apart from a chat plan.

Add a backup AI

Press “Add an AI” to connect a second one. Emails go to the first AI on the list. If it hits its limit or stops working, the email goes to the next one at once, and you get a notification. “Make main” moves an AI to the top.

Choose the model

Each connection shows its model, with “Change model” beside it. The model decides the quality of the replies and the cost of each email. The list shows the models your key can use right now.

Looking things up online

When a client questions a fact, or when you ask for it in a rewrite, Penclerk can check online through your AI's own web search. Each of the four services can search.

The daily limit

Penclerk limits the AI calls a workspace makes in 24 hours, so a fault cannot run up your bill. If you reach the limit, a notice in Penclerk says so, new email waits, and reading carries on by itself as the hours pass. If it is your usual amount of mail, write to us and we will raise the limit.