Sentinel Docs
AI proctoring, built for your stack.
Your backend manages sessions and policy through the Admin API, while the Sentinel JS SDK runs in-browser to capture anomalies, media and stream events.
import { TPSentinel } from '@testpress/sentinel-core'
import { TPSentinelUI } from '@testpress/sentinel-ui'
const sentinel = TPSentinel.create({
orgCode,
sessionId,
token
})
const sentinelUI = TPSentinelUI.create({
sentinel,
})
await sentinelUI.start()Integration path
Open quickstart01
Create workspace
Create the workspace and policy first, either through the Admin API or the Sentinel portal.
02
Backend creates session
Your server creates the Sentinel session when the user starts an activity that needs proctoring.
03
Backend generates token
Your server generates the session token used to authenticate the SDK.
04
SDK starts with token
The browser initializes the JS SDK with the token and begins proctoring.
Install
npm install @testpress/sentinel-core @testpress/sentinel-ui<script type="module">
import {
TPSentinel,
TPSentinelUI,
} from "https://static.tpsentinel.com/sdk/v2/core_1.0.6_ui_1.0.6/sentinel-bundle.js";
</script>Go to the right surface
Backend Integration
Create sessions, generate tokens, and control policy from your backend.
JS SDK
Install the browser SDK and start Sentinel with session config from your backend.
API Reference
Look up exact request and response shapes once you know the flow.
Example App
See a working React integration in testpress/sentinel-js-example.