Learn how you can create IO coding labs inside Fermion interface and embed them externally
Manage features
from your instructor dashboard and enable Coding labs
if you haven’t done that yet.
Coding lab
from sidebar and create a new IO lab.
Click on the Embed
button to obtain the ID of that lab.
EMBED_URL
needs to be securely generated on your backend as follows:
https://acme.fermion.app/embed/io-coding-lab?token=TOKEN_HERE
labId
(String) – This is the unique identifier of the lab as mentioned above.userId
(String) – This is a string that you have stored in your database that can uniquely identify a given user. You have to ensure that you store this identifier properly in your database and reuse it every time a user tries to access any lab.EMBED_URL
securely on your backend server:
This example uses the jsonwebtoken package to generate a JWT Token.