Generate an OAuth Access Token
A JWT access token is required to make any Einstein Platform Services API calls.
There are three ways to generate an access token.
Web UI—Use the token page to enter your username (most likely your email address), upload your private key file, and generate a JWT token.
Programmatically using your key—Load your private key, generate an assertion, and call the API to get an access token. You must monitor when the token expires and generate a new one.
Programmatically using a refresh token—Load your private key, generate an assertion, and call the API to get a refresh token. Use that refresh token from then on call the API and generate an access token.