Obtain chat transcripts from widget

I know I can get singular chat transcript from the portal.
I’m trying to obtain multiple chat transcripts from the js widget.
All I have is the license id from js code.

Nevermind, I was able to get the transcripts once I installed my private app, and use the pat.