---
title: "How to get an Anthropic (Claude) API key"
description: "Create an Anthropic API key and connect Claude to Workflow Transactional Email to create, edit and translate email layouts."
canonical: "https://docs.workflow-transactional-email.app/get-anthropic-api-key"
---

# How to get an Anthropic (Claude) API key

To create, edit and translate email layouts with Claude, connect your own Anthropic API key. Creating one takes a minute.

## Create the key

1. Sign in to the **Claude Console**, or create an account: <a href="https://platform.claude.com" target="_blank" rel="noopener">platform.claude.com</a>.
2. Open **Settings > API keys**, direct link: <a href="https://platform.claude.com/settings/keys" target="_blank" rel="noopener">platform.claude.com/settings/keys</a>.
3. Select **Create Key**, name it (for example `Workflow Transactional Email`) and **copy the key**. It starts with `sk-ant-` and is shown only once.
4. Make sure your Anthropic account has credit or a payment method: <a href="https://platform.claude.com/settings/billing" target="_blank" rel="noopener">platform.claude.com/settings/billing</a>. Generations are billed to your account.

Anthropic's own guide to getting started with the API: <a href="https://platform.claude.com/docs/en/api/overview" target="_blank" rel="noopener">platform.claude.com/docs/en/api/overview</a>.

## Connect it

1. In your Shopify admin, open **Workflow Transactional Email > Developer > Connections**.
2. Paste the key into the **Anthropic (Claude)** card and select **Save key**. The key is checked with the provider before it is saved.
3. Pick your **Default model** from the list of models your key can use.

The key is encrypted and used only when you generate, edit or translate a layout. It is never shown again. Then create a layout, or open one and use **Edit with AI**.

> [!NOTE]
> **Billing and models**
> Generations are billed to your own Anthropic account, not your Workflow Transactional Email plan. See [Create, edit and translate layouts with AI](https://docs.workflow-transactional-email.app/create-layouts-with-ai.md) for the Claude models and cost estimates.
