> For the complete documentation index, see [llms.txt](https://docs.centousapps.com/insureful/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.centousapps.com/insureful/app-set-up/email-templates/how-to-generate-an-api-key..md).

# How to generate an API key.

Here is the step-by-step guide of how to create a flow in Klaviyo.

#### **Step 1: Log in to Klaviyo.**

* Go to the Klaviyo site and log in or sign up with your email and register your store.

<figure><img src="/files/aOv5eCTnBi7JDZSin9Uf" alt=""><figcaption></figcaption></figure>

#### **Step 2: Build the API key.**

* Go to settings and then go to API keys.

<figure><img src="/files/rkaeI9rHr9CukC6E2Aaw" alt=""><figcaption></figcaption></figure>

#### **Step 3: Create private API keys.**

* Name your API key.
* Click on the Full Access key.

<figure><img src="/files/2PsyDzionp1uYCcetbRv" alt=""><figcaption></figcaption></figure>

#### **Step 4: Copy your private key and paste it in the Insureful app's email template section.**

<figure><img src="/files/lshbbMOeOj2h2CWN1b7O" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.centousapps.com/insureful/app-set-up/email-templates/how-to-generate-an-api-key..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
