how to integrate ASAP with JWT authentication

how to integrate ASAP with JWT authentication

I dont understand how to generate token?