Skip to content
kirky
Docs

Everything your developers need

The full developer docs will live at docs.kirkyapp.com. Until that site is public, start here: the quickstart and the security model are ready now.

Guides

What the docs cover

A first look

The SDK in one screen

One global, a handful of methods. The full reference lands with the docs site.

Starts the widget with your tenant, the user’s token and, optionally, getAuthHeaders, lang and a CSP nonce.
A promise that resolves once the widget has loaded. Calls made before that are queued.
Switches the signed-in user without reloading the page.
Clears the conversation and the session. Use it on shared computers.
Asks Centinela about a record before you save it. It answers in milliseconds and never blocks.
Reports what the SDK sees: version, CSP, token state and the last errors.
app.ts
// init() options, with the defaults
Kirky.init({
  tenant: "tn_4f7k2q",
  token,                  // ES256, ≤ 5 min
  getAuthHeaders,         // optional
  lang: "es",             // or "en"
  mode: "live",           // or "mock"
  nonce,                  // strict CSP
  debug: false,
});

await Kirky.ready();

See it inside a real app.

The demo is a sample app with Kirky already installed. Ask it anything you’d ask in yours.