> For the complete documentation index, see [llms.txt](https://help.inspiredtheme.com/articles/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.inspiredtheme.com/articles/faqs/integrate-apps-into-the-theme.md).

# Integrate apps into the theme

***

{% embed url="<https://www.loom.com/share/80169ebaa79d49e981726afe46f9484a?sid=89c33536-1c81-4ceb-b8ea-f5d3f572ac65>" %}

You can install [apps](https://help.shopify.com/en/manual/apps) to add features and integrations to your theme. You can find apps on the [Shopify App Store](https://apps.shopify.com/).

Apps can integrate with your theme in the following ways:

* **As an app block:** App blocks let you add app functionality exactly where you want it on a page. You can add, remove, preview, reposition, and customize app blocks in the theme editor.
* **As an app embed:** App embeds are app-provided elements that float or appear as an overlay in your theme, or add code to your online store without being visible to your customers. You can activate, deactivate, preview, and customize app embeds in the theme editor.
* **By adding custom code:** Some apps inject code directly into your theme's code to add functionality. You might customize the app using the app settings, or using the theme editor.

{% hint style="info" %}
**App blocks vs app embeds:** App blocks sit inside a section, in a spot you choose, like any other block. App embeds aren't placed in a section; you switch them on for the whole store. Many apps offer only one type, and some offer both. Check the app's own instructions to see which one to use.
{% endhint %}

### **1. App blocks**

App blocks can be added in two places:

* **Inside a section that supports apps.** In this theme, these are **Product information**, **Featured product**, **Blog post**, **Subtotal** (cart page) and **Email signup**. For example, add a reviews or size chart app block to **Product information** to show it next to your product details.
* **In the Apps section.** Add the **Apps** section to any page template, then add your app blocks inside it.

App blocks might only be compatible with certain page types. For example, a size chart app might only be compatible with product pages.

#### Add an app block to a section:

* From your Shopify admin, go to **Online Store** > **Themes**.
* Find the theme that you want to edit, and then click **Customize**.
* Navigate to the page and section where you want to add the **app block**.
* On the sidebar, click **Add block**.
* From the drop-down menu, select the app block that you want to add to the section (app blocks are listed under your installed apps), or click the **Search** bar and enter a search term.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/b758fd1e-9e22-4c21-a569-0c9f95db6572/Screenshot%202023-12-22%20at%203.37.49%20PM.png" alt=""><figcaption></figcaption></figure>

* Click and drag the `⋮⋮` icon to move the block to another available location in the section. You can also customize the block using any available settings.
* Click **Save**.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/56f4ec3c-84af-4971-a583-a88d5f598984/Screenshot%202023-12-22%20at%203.40.55%20PM.png" alt=""><figcaption></figcaption></figure>

#### Add an app section to a page:

* From your Shopify admin, go to **Online Store** > **Themes**.
* Find the theme that you want to edit, and then click **Customize**.
* Navigate to the page where you want to add the app section.
* On the sidebar, click **Add section**.
* From the drop-down menu, select the app that you want to add to the page (apps are listed under your installed apps), or click the **Search** bar and enter a search term.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/4857beba-5daf-406b-a7af-7378b2ae50a1/Screenshot%202023-12-22%20at%203.44.06%20PM.png" alt=""><figcaption></figcaption></figure>

* Click and drag the `⋮⋮` icon to move the section to another location on the page. You can also customize it using any available settings.
* Click **Save**.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/b41c48f3-c366-4e80-8ad2-4a1cb38f6094/Screenshot%202023-12-22%20at%203.45.52%20PM.png" alt=""><figcaption></figcaption></figure>

> ***Note**: Some apps need their app embed turned on before their app blocks work. If an app block doesn't appear or doesn't show anything, check the app's instructions and, if needed, activate its app embed (see below).*

### **2. App embeds**

App embeds are app-provided elements that float or appear as an overlay in your theme, or add code to your online store without being visible to your customers. For example, a chat bubble app that appears in the corner of your store, or an analytics or tracking app, might be added to your store as an app embed. App embeds can be activated, deactivated, and customized in the theme editor, and work with any theme version.

{% hint style="info" %}

#### Activate an app embed

* From your Shopify admin, go to **Online Store** > **Themes**.
* Find the theme that you want to edit, and then click **Customize**.
* On the sidebar, click the **App embeds** icon.
* Select the app embed that you want to activate, or click the **Search** bar and enter a search term to search through your installed apps.
* Beside the app embed that you want to activate, click the toggle to activate it.
* Preview your store to view the embedded app live.
  {% endhint %}

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/512daafa-830e-4698-a6b7-11b765292461/Screenshot%202023-12-22%20at%203.50.22%20PM.png" alt=""><figcaption></figcaption></figure>

> ***Note**: App embeds and app blocks are separate. Turning on an app embed doesn't add any app blocks to your pages, and many app blocks work without any app embed.*

### **3. Apps added to theme code**

Some apps inject code directly into your theme's code to add functionality. After you install the app, you might receive onboarding instructions that include editing your theme code to add the app where you want it to appear. You might customize the app using the app settings, or using the theme editor.

Instead of editing your theme code directly, you can often paste the app's code into a **Custom Liquid** section, or into a [Custom liquid block](https://help.inspiredtheme.com/articles/product-pages/product-information/custom-liquid.md) in Product information.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/1c2df423-7e13-444c-84c3-c8d141acdc46/Screenshot%202023-12-22%20at%203.53.07%20PM.png" alt=""><figcaption></figcaption></figure>
