> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supertab.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger Purchases Anywhere with Supertab.js

> Start the purchase flow exactly when you want — no paywalls required.

### What’s new

The new createPurchase method in Supertab.js makes it simple for developers to programmatically trigger Supertab’s purchase flow directly inside their applications.

### Why it matters

Speed up and simplify custom integrations with a single function call, and tailor the purchase journey to your brand’s design.

This release continues our push to make Supertab more flexible and developer-friendly, while giving businesses the freedom to design experiences that fit their customers best.

### How it works

1. Initialize Supertab.js in your app as usual.
2. Call createPurchase with an offering\_id.
3. Handle the response to guide your user through the confirmation or next step.

The result: your users stay within your product experience, while leveraging Supertab’s purchase flow.

[Read the documentation](https://docs.supertab.co/supertab-js/reference/create-purchase) to get started.

We can’t wait to see how you use this. Got ideas or [feedback](mailto:product@supertab.co)? Let us know!
