> For the complete documentation index, see [llms.txt](https://docs.selvette.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.selvette.com/shopify-app/add-inline-block.md).

# Add an inline app block

Use the **Try-On Widget** app block when you want it inside a particular product template, when a theme cannot use app embeds, or when you need a manual placement fallback.

![The Selvette inline app block placed in a Shopify product template](/files/ZisJS957Ks5neClIF0sW)

## Add the block

1. In Shopify admin, open **Online Store → Themes**.
2. Select **Customize** on the theme you want to edit.
3. Open a product template.
4. In the product-information section, select **Add block**.
5. Under **Apps**, select **Try-On Widget**.
6. Choose the button placement.
7. Complete the publishable key and widget URL fields shown by the block. Copy the values from Selvette's Widget settings; do not type them from memory.
8. Select **Save**.

{% hint style="warning" %}
The app block is a manual installation path. A missing key or script URL means the block cannot load. For Online Store 2.0 themes, the store-wide app embed is usually simpler.
{% endhint %}

Open a product using this template and follow [Complete your first try-on](/shopify-app/first-try-on.md).


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.selvette.com/shopify-app/add-inline-block.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
