How to get an Anthropic (Claude) API key
To use Generate with AI with Claude, connect your own Anthropic API key. Here's how to create one - it takes a minute.
Create the key
- Go to the Anthropic Console and sign in (or create an account): console.anthropic.com.
- Open Settings -> API keys - direct link: console.anthropic.com/settings/keys.
- Select Create Key, give it a name (for example
Workflow Trigger Extensions), and copy the key - it starts withsk-ant-. You can only see it once, so copy it now. - Make sure your Anthropic account has credit or a billing method - generation calls are billed to your account.
Connect it
- In your Shopify admin, open Workflow Trigger Extensions -> Developer -> Connections.
- Paste the key into the Anthropic card and select Save key.
Your key is encrypted at rest and used only for generation. It is never shown again, and it never runs inside your trigger code. Then open a custom trigger and use Generate with AI on the Code tab.

