> ## Documentation Index
> Fetch the complete documentation index at: https://dev.smile.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Including Smile UI

If you're using one of Smile's pre-built integrations (such as the Shopify or BigCommerce app), then Smile UI is already included and initialized on your site. If you're using a custom frontend, custom checkout, or want to add the loyalty panel and launcher elsewhere, you need to manually add the Smile UI `<script>` tag on each page where you want the panel and launcher to appear.

The Smile UI script should always be loaded directly from Smile's CDN rather than included in a bundle or hosted yourself.

<Note>
  Once you've included Smile UI, you'll need to [initialize it](/ui/initializing) before you can use it.
</Note>

<Panel>
  ```javascript title="JavaScript" lines theme={null}
  <script async src="https://js.smile.io/v1/smile-ui.js"></scri>
  ```
</Panel>
