# Sharing order events via the Hakuna Shopify app

You can use the Hakuna Shopify app to automatically share order events with Hakuna if your e-commerce store is running on Shopify.

## 1. Install the app

To install the Hakuna Shopify app, click the install link your Hakuna Account Manager shared with you and then click **Install app** in your Shopify admin.

If you have not received an install link yet, please reach out to your Hakuna Account Manager.

## 2. Attach custom property to protection cart line items

Add a [line item property](https://shopify.dev/docs/api/liquid/objects/line_item#line_item-properties) with the name `_hakuna_protected_product_ref` and a value referencing the associated protectable product (i.e., product or variant ID) to every cart line item containing a protection product so that we know which protected product it is connected to.


---

# Agent Instructions: 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.hellohakuna.com/sharing-order-events/sharing-order-events-via-the-hakuna-shopify-app.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.
