Quickstart
Pick how you want to integrate tiun. Both paths end at the same place — a live integration. The full walkthroughs live in the guides; this page is the fast version.
Agent
Let your AI agent integrate tiun for you in three steps.
Manual
Install and initialize the SDK yourself, then follow a guide for the rest.
Building with React Native? The steps below are for the web SDK. React Native uses a different package with a different API — follow Monetize in React Native instead, and don't install @tiun/sdk.
Initialize the web SDK
Import tiun and run init once at app startup. You can find your snippet ID in the my.tiun.business dashboard.
import { tiun } from '@tiun/sdk';
tiun.init({
snippetId: 'YOUR_SNIPPET_ID',
language: 'en', // 'en' | 'de' | 'fr'
});Follow a guide
Pick the walkthrough that matches what you're building:
Authenticate your user — Login, logout, and reading the signed-in user.
Monetize with subscriptions — Recurring plans, checkout, and access control.
Sell one-time products — A single fixed fee, checkout, and permanent access.
Charge for time-based sessions — Usage-based billing, paywall events, and content metering.
Last updated
Was this helpful?

