LiveHow do we get a first verdict?
Quickstart
Run a deterministic sandbox decision and inspect its signed record.
Install and configure
terminal
pnpm add @decionis/presence-nodeexport PRESENCE_API_KEY='pr_live_••••••••'Run a sandbox verdict
quickstart.mjs
import { randomUUID } from "node:crypto";import { PresenceClient } from "@decionis/presence-node"; const presence = new PresenceClient({ baseUrl: "https://presence.decionis.com", apiKey: process.env.PRESENCE_API_KEY,}); const result = await presence.runSandboxScenario("allow", randomUUID());console.log(result.policy_verdict);console.log(result.decision.verification_bundle?.dossier_id);Three-minute path
- 01
Create a sandbox and copy the one-time server credential into your local environment.
- 02
Run an allow, block, or escalate fixture through the production decision and dossier path. Sandbox evidence is always labelled and remains in shadow mode.
Verify the implementation
Create an isolated sandbox.
Open sandbox setup →Move from fixtures to the session API.
/developers/api →
One next step
Continue with the executable path.