Skip to main content
JavaScript
<script async src="https://js.smile.io/v1/smile-ui.js"></scri>
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.
Once you’ve included Smile UI, you’ll need to initialize it before you can use it.