Skip to main content
By the end of this guide you will have a live KaireonAI tenant with seeded sample retail demo data, made one recommendation, recorded one outcome, and inspected the full decision trace. No install required — everything runs against the hosted Playground, the free trial that lets you evaluate the platform before you buy.

1. Sign up

1

Open the playground

Visit playground.kaireonai.com and register. No email verification needed for the playground tier.
2

Demo data is auto-seeded

Your tenant ships with 10 offers, 6 channels, 100 customers, 3 scoring algorithms, and one Decision Flow named Base NBA Flow that wires them all together. Skip the setup; you have everything you need.

2. Get your API key

1

Open the API Explorer

In the playground, click Settings → API Explorer → Create. Copy the key when shown — it is displayed only once.
2

Save it for the curl examples below

Every key starts with the krn_ prefix. The key is bound to the tenant that created it, so X-Tenant-Id is optional on API-key requests — it is ignored in favor of the key’s own tenant. We keep it in the examples below for clarity.
A freshly minted key is data-plane-only by default: it can call /recommend, /respond, /respond/bulk, and /capture — everything this quickstart’s recommend and respond steps need. Management endpoints (including the decision-traces curl in step 5) require a key minted with the control-plane scope; see API Keys.
The same KAIREON_API_KEY and KAIREON_TENANT_ID env vars also wire the MCP server. If you set up MCP later, you can copy these same values into your AI client’s MCP config.

3. Make your first recommendation

The response ranks the top 3 offers for customer SBX-000042. Each entry in decisions includes a score, a 1-based rank, and the offer metadata you need to render to the customer. Field values depend on your seeded data; the shape is exactly as shown:
Save the recommendationId (it equals interactionId on a single-flow recommendation) — together with a decision’s rank, it is how you record the outcome in step 4.

4. Record the outcome

The customer saw your top recommendation. Whether they clicked, ignored, or converted, KaireonAI uses that signal to learn. Record one outcome:
Replace recommendationId with the value from step 3 and rank with the position of the offer the customer acted on. idempotencyKey is required — it stops the same outcome being counted twice, so use a stable value per real interaction. outcome must be a registered outcome type (click, accept, convert, …). The response echoes the resolved offer and confirms the outcome fed the online learners:

5. See the decision trace

Every decision is fully explainable. Walk through eligibility, fit, match, and ranking to see exactly why each offer ranked where it did.
/decision-traces is a control-plane (management) endpoint. A default data-plane-only key gets 403 here — this curl needs an API key minted with the control-plane scope (admin only; see API Keys). The UI and MCP tabs work without one.
Decision traces are looked up by customerId (or requestId), not by a trace id returned from /recommend. The response is { traces, total, limit, offset }; each trace carries per-stage counts (candidateCount, afterQualification, afterSuppression, afterContactPolicy, afterScoring, finalCount), the qualificationResults, contactPolicyResults, and scoringResults breakdowns, the rankingWeights, and the selectedOffers.

What just happened

You drove the entire KaireonAI decisioning loop end-to-end. In 5 minutes you used:
  • A Decision Flow — a configured pipeline that runs every recommendation through eligibility gates, fit filters, scoring algorithms, and ranking. The auto-seeded Base NBA Flow is what powered your /recommend call.
  • The Recommend API — the runtime entry point that returns ranked offers along with the interactionId that links the recommendation to its outcome.
  • The Respond API — closes the loop. Outcomes feed the online learners so the next recommendation for similar customers is better.
  • The Decision Trace — full transparency into every gate, filter, score, and ranking decision. Every decision is reproducible and auditable.

Where to go next

Build a custom Decision Flow

Replace the Base NBA Flow with one you designed for your offers, channels, and policies.

Try the SDK

Same flow as above, in TypeScript or Python.

Wire the MCP server

Drive Kaireon from your AI assistant — Claude Desktop, Cursor, or any MCP-aware client.

Deployment options

Compare Cloud, Dedicated, and Enterprise on-prem plans as you move from trial to production.