Skip to content

How to connect your own AI provider

This article shows you how to connect your organization’s own AI provider to EmailShepherd, and choose which models to use.

When you connect your own AI provider, EmailShepherd’s AI features use your API key and don’t use your EmailShepherd AI credits. Your provider bills you directly for what you use, and you choose which model handles each task. Your team keeps using the AI features in exactly the same way.

This only changes which AI powers the features inside EmailShepherd. It doesn’t connect EmailShepherd to an AI tool you use yourself, such as Claude or ChatGPT. To work with EmailShepherd from one of those tools, see How to use EmailShepherd from your AI tool.

You need an API key from one of the supported providers, with billing set up on the provider’s side:

Each guide explains where to get a key and where to check your usage. Both individual and company API accounts work.

Once connected, these features run on your provider and don’t use AI credits:

  • AI Chat in the email editor
  • AI chat in the Component Builder
  • Background build agents
  • AI reviews
  • AI translations

AI image generation always runs on EmailShepherd AI and uses one AI credit per image, so keep some credits if your team generates images.

Some AI features don’t use AI credits at all, such as generating image descriptions for your image library. These always run on EmailShepherd AI, not on your provider.

  1. In the top-left of the sidebar, click your organization’s name, then select Organization settings.

  2. Click AI Provider.

  3. Select Use a custom AI Provider.

  4. In Provider, select Anthropic, OpenAI or Gemini.

  5. In API Key, paste your API key.

    The AI Provider settings page

  6. Under Model Configuration, choose a model for each task (see Choose your models).

  7. Click Save Changes.

Your organization’s AI features now use your provider.

Each task has its own model setting, so you can balance quality and cost. For example, you could use a more capable model for AI Chat and a faster, cheaper one for translations.

The list of models depends on the provider you selected.

To replace your API key, go to Organization settings > AI Provider, paste the new key in API Key, and click Save Changes.

To stop using your own provider, clear Use a custom AI Provider and click Save Changes. AI features go back to using EmailShepherd AI credits.

Usage billed by your provider doesn’t appear in EmailShepherd. Check it in your provider’s console. Each provider guide links to the right place.

To see the AI credits your organization still uses, such as for image generation, see How to check your AI credit usage.