Explanation needed on generation of JWT public key and jwt secret for socket.io channel

@nik202 This is my frontend code-

As you can see, it has a socketURL which is basically my Rasa X URL and everything is working fine for me since I’m able to view replies from my bot in my browser in the chat widget. But, now I want to authenticate the socket io connection and the Rasa docs say to use JWT auth method. I’ve actually figured out the way to get a JWT token. And as per Rasa docs they say to do this -

I don’t understand where exactly should I put this token, in my frontend code or where exactly so the authentication is successful.

Rasa X version - 1.0.1, Rasa OS - 2.8.15