Choose the credential path
A Jev key and an NSR key serve different purposes. Do not exchange their headers or embed either
in customer messages, policy facts, decision JSON, or committed example files.
Connect in API setup
1
Select the intended organization
Sign in to the NSR console and open API setup → Jev integration.
Organization owners/admins or users with integration-management permission can manage the
connection. Ordinary members can read status but cannot retrieve the secret.
2
Verify and save the key
Enter your Jev key and supported model alias, then choose Verify and save Jev key.
This runs a real synthetic judgment through NSR before saving; it consumes provider usage.
The verification has no authorizing business rule and performs no business action.
3
Check the connection evidence
Inspect connection status, verification time, and resolved model. Use Test saved connection
when you deliberately want another provider check. A status page alone is not a perpetual
health guarantee.
Run an evidence-aware Playground case
- Open Playground and select an industry pack and scenario.
- Inspect the facts, rules, customer message, Jev questions, and evidence requirements.
- Use Guided editing for supported evidence fields or Advanced JSON for the full inputs.
- Enable Jev and confirm the intended connection. Inline setup can connect a key without discarding the draft when supported by the deployed UI.
- Submit one case, then inspect the decision explanation, model readings, evidence handling, rule result, and any required human review.
Complete when: you can identify the model reading, explain which evidence was admitted,
and point to the policy condition behind the verdict. An approval is not required to complete
this exercise, and no external business action is implied.
Save policy tests without confusing them with proof replay
Under Saved policy tests, give the current inputs a name and an expected decision, then choose Save current inputs as test. The current UI stores up to ten named cases per organization in this browser. This is not a shared server-side test suite. Before running the saved cases:- Choose whether to use each saved policy or Use current rules and evidence requirements for all cases.
- Review the displayed request count and provider/NSR usage implications.
- Inspect evidence timestamps: saved timestamps remain fixed and can become stale.
- Expect Jev-enabled tests to make fresh, potentially varying model calls.
Inspect an original decision
Decision history can expose the original record and JSON download. Restore Jev inputs and the authorization goal only when the engine captured them; treat a missing snapshot as missing. Running a reconstructed request makes a new decision, not a reproduction of the original model inference. Use the supported engine verification bundle for evidence-aware runs rather than the console’s basic browser proof replay. If a complete history CSV fetch fails, the console labels the export partial and uses a-partial filename. Do not treat that file as a complete decision ledger.
Connect a direct API client
First verify the engine capability using your normal tenant-scoped credentials. SetNSR_BASE_URL to the engine origin with no /v1 suffix:
request_scoped_credentials: true and provider: "jev" before sending a Jev secret.
For a reviewed decision payload exported or generated from your current Playground inputs:
jev-decision-request.json first; it is not supplied by this guide. It must
be a full decision request, not the public demo’s {industry, scenario} body. Use HTTPS outside
local development and your actual authorized organization. Ordinary NSR tenant authorization
still applies. The engine removes Jev headers and scopes the credential to that request;
supplying a model header without a key is rejected.
Deployment and recovery checks
Deployment owners should release the engine support before enabling console credential setup,
use the real
typesafe judgment provider rather than fixture, and configure shared Vault
storage with a scoped service identity. Customer keys are restricted to the TypeSafe provider
origin; the client does not choose a credential-forwarding URL. The public demo additionally
needs its dedicated tenant/key and the configured shared limiter; these are separate from a
customer’s private organization connection.
Related: Jev + NSR concepts, public first decision,
and agent execution gate.
Source basis: nsr-app/server/jev.mjs, server/jev-store.mjs, JevSettings.tsx, PolicyChecks.tsx,
Playground and decision-history components, and stateset-nsr/src/api/jev_credentials.rs,
reviewed 2026-09-20. Live provider calls and production credential storage were not exercised.