Trial Quick Start
Five steps to your first proctored session. Each one links to the full reference if you want the detail — this page deliberately stays short.
Working with a coding agent such as Claude Code? Install the ProctorSafe skill and give it an agent key that can change onboarding settings, and it does Steps 1, 3 and 4 for you. It allows your origin, adds the SDK and session signing, writes a webhook receiver, then creates the endpoint and sends it a test. You only create the API key in Step 2. See Integrate with a Coding Agent.
Your trial account comes with a fixed number of sessions. The bar at the top of every dashboard page shows how many you have left, and a session that would exceed the budget is refused at start-up rather than part-way through, so you will never lose a candidate's exam to it.
Before You Start
You will need:
- Your trial sign-in, and the tenant slug shown on your dashboard. It looks like
trial-a1b2c3d4and identifies your account to the SDK. - An application you can add a
<script>tag to.
Step 1: Allow Your Application Domain
The SDK only talks to us from origins you have listed. Until you add yours, every session start is rejected by CORS.
Open Network settings and add your application's origin — the scheme and host, for example https://exams.your-company.com. Wildcards like *.your-company.com are accepted for subdomains.
See the Integration Guide for full reference.
Step 2: Create an API Key
Server-side calls — signing session starts (Step 4), fetching sessions, reading results — authenticate with a bearer token.
Go to API keys and create one. The key is shown once and never again, so store it somewhere safe before you close the dialog. If you lose it, delete it and create another.
See the Integration Guide for full reference.
Step 3: Configure a Webhook
This is the step that closes the loop. Without it you can start sessions and read results in the dashboard, but your own application never finds out what happened — so a trial that skips this has not really tested the integration you would ship.
Add an endpoint at Webhook settings. The default subscription sends you:
| Event | Fires when |
|---|---|
session.started | A candidate's session begins |
session.completed | The session finishes normally |
session.terminated | The session is ended early |
session.aborted | The candidate abandons the session |
review.completed | A reviewer finishes reviewing and records an outcome |
score.version_changed | A session is rebound to different scoring rules |
Authenticate the callback with HTTP Basic or a named header — both are configured on the same page, and the credentials are encrypted and never shown again. You can also set a signing secret, which adds an X-Proctor-Signature header your endpoint can verify so it knows the call really came from us.
Once the endpoint is saved, use Send test on the same page to check it is reachable and returns a 2xx before a real session depends on it. The test sends a webhook.ping, never a synthetic session event, so it cannot be mistaken for a real one by whatever you have listening.
Delivery is retried on failure, so a brief outage on your side will not lose an event. Each endpoint keeps a delivery history showing what was sent, what your server answered, and a retry button — that is where to look after Step 5 to confirm the callbacks arrived. If you just want to see the shape of the payloads first, point it at any request-capture service.
See the Integration Guide for full reference.
Step 4: Add the SDK to Your Page
The SDK is a script tag, not an npm package — there is nothing to install or bundle.
<script src="https://www.proctorsafe.eu/sdk/proctor.iife.js"></script> <script> async function startExam() { const sessionId = await Proctor.start( { tenantName: 'trial-a1b2c3d4', applicationReference: 'exam-ref-001', // Your own server signs the session start; see below. sign: async ({ tenantName, applicationReference }) => { const response = await fetch('/proctor-sign', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ tenantName, applicationReference }), }); if (!response.ok) throw new Error('Could not sign the session start'); return response.json(); // { signature, timestamp } }, settings: {}, }, (event) => console.log('Proctor event:', event.type) ); // Store sessionId with this exam attempt in your own records. } async function finishExam() { await Proctor.end(); } </script>
Replace trial-a1b2c3d4 with your own tenant slug and exam-ref-001 with your application's own reference for this exam attempt. That reference must be unique per attempt — it is what ties a session back to your records. Proctor.start() resolves once the candidate has finished onboarding and proctoring is running; call Proctor.end() when they submit the exam.
Every session start on a trial account must be signed, so that nobody else can open sessions against your account. The sign callback above asks your own server to do it, just before the session opens. Your server passes the request to our create API helper, which signs with the key we generated for you, using the API key from Step 2:
// On your server (Node 18+). The API key never reaches the browser. app.post('/proctor-sign', async (req, res) => { const response = await fetch('https://www.proctorsafe.eu/api/proctor/create', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${process.env.PROCTORSAFE_API_KEY}`, }, body: JSON.stringify({ tenant_name: req.body.tenantName, application_reference: req.body.applicationReference, }), }); if (!response.ok) return res.status(502).end(); const { signature, timestamp } = await response.json(); res.json({ signature, timestamp }); });
Before you go live, have this endpoint check that the caller is signed in to your application and that the reference belongs to their attempt — otherwise anyone who finds it can open sessions on your account. See the sign callback for why signing happens at this point rather than when the page loads.
See the Integration Guide for full reference.
Step 5: Run Your First Session
Load the page, allow camera and microphone access when prompted, and complete the short onboarding check. Then open your dashboard — the session appears in the list while it is still running.
During the session you will see a short notice telling you how many trial sessions are left after this one. It appears on trial accounts only and dismisses itself after a few seconds — a full account never shows it.
When it finishes you can open it to see the event timeline, the trust score and how it was reached, and any captures. That view is what your reviewers would use day to day.
If you configured a webhook in step 3, your endpoint will have received session.started as the session opened and session.completed when your page called Proctor.end() — that is the full round trip, from your page starting a session to your own system being told how it went. Deliveries and their retries are listed on the webhook settings page if something did not arrive.
See the Integration Guide for full reference.
When Your Trial Runs Out
Sessions beyond your budget are refused with a 402 response and a SESSION_CREDITS_EXHAUSTED code. Retrying will not help, and neither will a new application reference — the budget is per account. Buying credits (below) lifts the refusal straight away.
Buy Credits
To keep going, buy prepaid credits from Plan & Credits in your dashboard. You must be signed in as an account admin. Choose how many credits you need. There is no minimum, and the page shows the price per credit and how long purchased credits stay valid. You pay by card on our payment provider's secure page and receive an invoice for the purchase.
The credits are added as soon as the payment goes through, usually before you are back on the dashboard. If you leave the payment page without paying, nothing is charged and nothing is added.
Your first purchase turns the trial into a full account. Your configuration, keys and sessions carry over, and candidates no longer see the trial-sessions notice. Any trial sessions you have left still count until they expire.
If you would rather pay by invoice, or need a monthly plan instead, get in touch and we will set it up for you.