Choose how to integrate
- Fully custom rewards UI — Use the JavaScript SDK to build your own loyalty experience from scratch. The SDK gives you full control over the UI and works well in single-page and headless setups.
- Pre-built loyalty panel — Use Smile UI to add Smile’s popup loyalty panel and launcher with minimal code. Best when you want to include loyalty information without building or maintaining a custom UI.
- Both — Use the SDK for custom flows (e.g. embedded redemption at checkout) and Smile UI for the panel. Pass
includeSdk: truewhen initializing Smile UI to load the JavaScript SDK alongside it.