New UI Makes It Easy to Get a Token

The Einstein Vision API uses OAuth 2.0 JWT bearer token flow for authorization. Each API call must contain a valid OAuth token in the request header. To quickly generate an OAuth access token, just use the token page.

In your app, you add code to create an assertion and generate a token by calling the /v1/oauth2/token resource. But if you want to do some testing or first try out the API, this page gives you a quick way to manually generate a token.

To get a token, navigate to the token page, upload your key contained in the .pem file you downloaded when you signed up, and click Get Token.

Einstein Platform token page