Connecting jitsi-meet with database

Hello everyone, I was trying to embed jitsi-meet into my web application thorugh iFrame Api and I am stuck on making the client side to communicate with my database(MongoDB). For example, when a user starts a meeting, his username and id are already stored in the database, when he joins the meeting, his exact name is displayed in meeting using which he signed up.
I have looked into JWT but can I pass the token using my own backend ? Any help would be appreciated.