Initialise with a session token
The official SDK article provides the script URL and the Proctoring.initialize call. Mount it in the intended container and pass the external_session.token returned by your backend. The documented language values are en, ru and kz.
Handle the lifecycle
Use onMounted for SDK mounting and onConfigured for loaded configuration.
Start the attempt with Proctoring.start after the required initialisation flow.
Handle onStarted, onAction and onError so the page shows the actual state rather than assuming success.
Call Proctoring.finish when the participant submits the exam, and handle the returned promise and finish callback.
Offer Proctoring.startNewAttempt only when the assignment allows it. The documented helper methods include isFinished and isCanStartNewAttempt.
ContentProtect configuration
The documented setup combines backend content_protect with the frontend protector object, including a match selector for the protected content. Test it on the actual question layout and delivery mode; do not infer protection of content outside that configured area.
Verify the integration
Check permission denial, a failed start, reconnection and repeated finish actions. Keep the exam’s answer submission and the proctoring attempt state consistent. Refer to the official SDK article for exact code and current method details.