Examplary Embed Sessions Demo

This is a simple example of how to use Examplary Embed Sessions.

Start by creating an API key on this page, then paste it below.

Step 1: create a user

We need a user to associate the session with. As an admin in your workspace, you can create a new user:

Step 2: create an embed session

Now we can create an embed session for the user we just created:

Step 3: embed the session

Finally, we can embed the session in an iframe using the URL we just received:

Tip: The Examplary UI looks even better in a modal window!

Step 4: listen for events from the embed session

You can listen for events sent from the embed session using the postMessage API. Events are shown in the developer console on the right.

If in your use case postMessage is not suitable, you can also set a returnUrl that the embed session will redirect to after completion.

Step 5: download QTI 3 package

After the user has completed the exam generation flow, you can fetch the generated QTI 3 package using the API. You will need the examId from the event data sent when the session is completed.