SDK installation

Two ways to embed: a zero-dependency script tag for any website, or the React component for component-based apps.

Option A — Script tag

Works on any HTML page (WordPress, plain HTML, server-rendered sites). No build step required.

html
<script src="https://your-app.netlify.app/sdk.js"></script>

Then mount a button — see the JavaScript guide.

Option B — React package

For React / Next.js apps. The component renders the Buy button and manages the full checkout-to-ticket flow.

bash
npm install @tixcore/react
# or
pnpm add @tixcore/react
yarn add @tixcore/react

Continue with the React integration.

What you need

  • A public API key (tix_live_…) from Settings → API keys.
  • An event id from an event you’ve created and published.
  • A connected payment gateway on the organization.