# Enable Extension in Theme

It is important to enable the the Shopjar app in your Shopify theme to track referral sales and render a referrer landing page and referrer portal.

To utilize the Shopjar app on your Shopify store, enable it within your store's theme. Follow these steps to proceed:\
\
To ensure availability post-installation, enable Shopjar within your store's theme.

1. Select the Shopjar app.
2. Find the "**Enable the Shopjar Extension in your theme**" notification on the dashboard.
3. Click "Enable."

<figure><img src="/files/IFbrheV2is7V92ht3Gyd" alt=""><figcaption><p>Notification to enable Shopjar app in theme</p></figcaption></figure>

4. Copy the Shopjar key.
5. Click "Go to the theme editor."
6. Paste the Shopjar key and save the theme.

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

## Alternate Method

Every time you change a theme, it is mandatory to enable Shopjar in that theme. So, you can use the following method to do so

1. Click Online Store.
2. Select Theme from the drop-down.
3. Click Customize.

<figure><img src="/files/RmpZMOiTHv6HXLfn4AOw" alt=""><figcaption><p>Click Customize</p></figcaption></figure>

1. Choose App Embeds.
2. Slide the bar beside Shopjar Referral-Extension to enable it.
3. Copy and paste the Shopjar key from the Dashboard.
4. Save the theme.

<figure><img src="/files/8ggFsOifdw8U1t8irTQV" alt=""><figcaption><p>Enable Shopjar referral in Theme</p></figcaption></figure>


---

# 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.shopjar.co/getting-started-with-shopjar/enable-extension-in-theme.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.
