For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

In case you have questions, check the FAQ or reach out to support@tiun.io


Agent

Let your AI agent integrate tiun for you in three steps.

1

Install the tiun-sdk skill

Adds tiun-specific instructions to your codebase so your agent knows how to integrate tiun into your project.

npx skills add https://mcp.tiun.business
2

Lets your agent fetch your snippet ID, provider, and product details directly from your dashboard — no copy-paste, no guessing. The tiun-sdk skill detects and uses it automatically.

Add this MCP server in your agent's MCP settings:

https://mcp.tiun.business/
3

Prompt your agent

You're all set. Instruct your agent to integrate tiun. Before writing any code, it'll confirm a few things — subscription, one-time purchase, or time-based, which products, which routes to gate — so nothing gets wired up silently.

Full agent integration guide


Manual

Install and initialize the SDK yourself, then follow a guide for the rest.

1

Install the web SDK

Add @tiun/sdk to your project.

npm install @tiun/sdk
pnpm add @tiun/sdk
yarn add @tiun/sdk
2

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'
});

Set language to match your site. Supported values are 'en', 'de', and 'fr'. If omitted or invalid, the snippet UI falls back to 'en'. See all options in Initialization.

3

Follow a guide

Pick the walkthrough that matches what you're building:

Last updated

Was this helpful?