Quickstart

Five minutes to your first decision.

  1. Get a sandbox key at /start. No card.
  2. Install the SDKnpm i @ordent/sdk (Node), pip install ordent, or drop the web snippet.
  3. Send an event from your backend on signup.
  4. Read the decision and branch on it.
  5. Add the widget so step_up handles itself.
server.ts
import { Ordent } from "@ordent/sdk";
const ordent = new Ordent({ apiKey: process.env.ORDENT_KEY });
 
const { decision, tags } = await ordent.events.send({
  type: "signup",
  user: { id: user.id, email: user.email },
  device: req.ordentDevice,
  ip: req.ip,
});
 
if (decision === "step_up") return widget.render({ user: user.id });
if (decision === "block") return res.status(403).end();
Install with your AI agent

Paste into Cursor or Claude Code

prompt
Install Ordent (https://ordent.io/llms.txt). Send signup, login and withdrawal events
from the backend, mount the step-up widget on step_up, use the crypto preset in Recommend mode.

The MCP server exposes check_user, explain_decision, report_outcome, list_tags and simulate_policy. Keys created for agents are read-only unless you say otherwise. The site map for assistants is at /llms.txt.

Reference