How to get an OpenRouter API key
OpenRouter gives you one API key for models from many companies, such as Anthropic, OpenAI, Google, Meta, Mistral and DeepSeek. Connect it to create, edit and translate email layouts with any of them.
Create the key
- Sign in to OpenRouter, or create an account: openrouter.ai.
- Add credits to your account: openrouter.ai/settings/credits. Generations are paid from these credits.
- Open Keys, direct link: openrouter.ai/settings/keys, select Create API key, name it (for example
Workflow Transactional Email) and copy the key. It starts withsk-or-and is shown only once. You can set a credit limit on the key.
OpenRouter's own guide: openrouter.ai/docs/quickstart.
Connect it
- In your Shopify admin, open Workflow Transactional Email > Developer > Connections.
- Paste the key into the OpenRouter card and select Save key. The key is checked with OpenRouter before it is saved.
- Pick your Default model. The list shows every text model OpenRouter offers with an estimated cost per layout. For a model that is not listed, choose Other model id and enter its id, for example
mistralai/mistral-large.
The key is encrypted and used only when you generate, edit or translate a layout. It is never shown again.

