Installation

Install @tiun/sdkarrow-up-right and initialize it with your snippet ID. You can find your snippet ID in the tiun.business dashboardarrow-up-right.

1

Install the SDK

npm install @tiun/sdk
2

Initialize the SDK

Import tiun and call init once at startup.

import { tiun } from '@tiun/sdk';

tiun.init({
  snippetId: 'YOUR_SNIPPET_ID',
  language: 'en', // set to your site's language
});

That's it — the SDK loads what it needs automatically. Continue with First integration to create a product, open checkout, and handle events.

Last updated

Was this helpful?