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.

SDK initialization
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 quickstart

01

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