Generating JWT for integration with third-party API

The access token that has user information is great for our authentication needs. However, we are also going to be integrating with the Stream API for chat functionality. My understanding is that I need a different JWT with the raw JSON from Auth0 as the payload in order to pass that information to the Stream API. So knowing how to generate this “different” JWT is what I’m confused about.

I hope that is clear; I apologize if I’m being obtuse. Just trying to wrap my head around how exactly Auth0 is going to fit into this project. And I’m by no means a senior architect.