Hello I used shopifycli's remix method to create an embedded application. "@shopify/cli": "3.58.0" C

Hi, I created an embedded application using shopifycli’s remix method.
@shopify/cli”: “3.58.0”
Currently I am encountering a problem in this scenario: I need to initiate a request in the client scenario and request to use session token to verify identity.
I don’t know how to get the session token through javascript in cli. The api request I want to call does not belong to shopify, but to our deployment api service.
How can I achieve this?