Skip to main content

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.

You can add Smile to any website or custom storefront you’ve built, as long as your customer and order data are powered by a supported platform (such as Shopify or BigCommerce). How you integrate depends on the experience you want.

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: true when initializing Smile UI to load the JavaScript SDK alongside it.

Platform-specific guides

Headless / SPA

Add Smile to any headless or Single Page Application frontend.