Skip to main content
The SDK can be used without a framework by loading it via a CDN <script> tag or importing the UMD bundle.

CDN / Script Tag

When loaded via a script tag, the SDK is available as window.RMZStorefront. The createStorefrontSDK factory function is the main entry point.

ES Module Import

If you are using ES modules without a bundler:

Complete Example: Product Page

Node.js (CommonJS)

For server-side scripts without ESM: