JavaScript examples
Use API keys only in server-side JavaScript. Browser apps should rely on the signed-in product session and short-lived access tokens.Node.js server
Signed-in browser flow
When you are inside the product app, call the same-origin API proxy and use the access token managed by the app:AIMP_API_KEY in browser JavaScript.