How to get an OpenAI API key
To create, edit and translate email layouts with GPT, connect your own OpenAI API key. Creating one takes a minute.
Create the key
- Sign in to the OpenAI platform, or create an account: platform.openai.com.
- Open API keys, direct link: platform.openai.com/api-keys.
- Select Create new secret key, name it (for example
Workflow Transactional Email) and copy the key. It starts withsk-and is shown only once. - Make sure your OpenAI account has a payment method or credit: platform.openai.com/settings/organization/billing. Generations are billed to your account.
OpenAI's own quickstart for the API: developers.openai.com/api/docs/quickstart.
Connect it
- In your Shopify admin, open Workflow Transactional Email > Developer > Connections.
- Paste the key into the OpenAI card and select Save key. The key is checked with the provider before it is saved.
- 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.

