> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.courses-plus.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Add My courses button to a Klaviyo email

| Courses Plus lets you add a **Go to my courses page** button to the order confirmation email you send from Klaviyo:

* **One click to courses** — students open the courses they bought right from the email.
* **Ready-made code** — copy the button code, add your store address and paste it into the email.
* **Standard Klaviyo editor** — the button is added as a regular Text block, no extra apps needed.

**In this article:**

* [Open the order confirmation email](#2-open-the-order-confirmation-email)
* [Add the button code](#2-add-the-button-code)
* [Save the email](#2-save-the-email)

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/overview.png)

## Open the order confirmation email

1. In Klaviyo, open the flow that sends your order confirmation email (in our example, **Order Confirmation - Standard**). Click the **Order Confirmation** email in the flow, then click **Edit** in the panel on the left.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/open-email.png)

2. Click **Edit email**.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/edit-email.png)

## Add the button code

Copy the button code below and replace **YOUR_STORE** with your store's address, for example `my-course-shop.myshopify.com`:

```
<div style="display: flex; text-align: center;"><a href="https://YOUR_STORE.myshopify.com/apps/my/courses/list" class="btn button" target="_blank" style="width: 100%; margin-bottom: 10px; margin-top: 10px; display: inline-block; font-size: 16px; text-decoration: none; color: #fff; padding: 20px 25px; background: #1990c6; border-radius: 4px; justify-content: center;" rel="noopener">Go to my courses page</a></div>
```

1. In the **Blocks** list, drag the **Text** block into the email and drop it where the button should appear — in our example, right below **Thank you for your purchase!**

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/add-text-block.png)

2. Click the new text block in the email, then click the **Source code** button in the editor toolbar on the left.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/source-code.png)

3. Replace the placeholder text with the copied code and click **Done**.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/paste-code.png)

## Save the email

1. The **Go to my courses page** button now appears in the email. Click **Save**.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/save.png)

2. Check the button in the email preview and click **Done** to return to the flow.

![](https://cdn.jsdelivr.net/gh/Alizend/helpdesk-assets@262f560fef6ca5a40a7cc57ce8158450ece8d602/add-my-courses-button-to-klaviyo-email/done.png)

Now every customer who receives the order confirmation email can open their purchased courses with one click. If you have any questions, we're happy to help.

---

In this section:

* [Add My courses button in order confirmation email](https://help.courses-plus.com/en/article/add-my-courses-button-in-order-confirmation-email-7o04jy/)
* [Adding My courses button on Checkout (Thank you page) and Customer accounts (Order status page)](https://help.courses-plus.com/en/article/adding-my-courses-button-on-checkout-thank-you-page-and-customer-accounts-order-status-page-4ym208/)
* [Your first steps](https://help.courses-plus.com/en/article/your-first-steps-dank6r/)