Documentation menu
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

  1. 01

    Create a sandbox and copy the one-time server credential into your local environment.

  2. 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

One next step

Continue with the executable path.

Create a sandbox