API Tokens are used to gain access to ingest api.
An easy way to get the token from a logged in session is to use the bookmarklet.
Instructions:
- Create a bookmarklet in the browser’s bookmark list with the following code as the URL
javascript:(async function(navigator) { navigator.clipboard.writeText(Object.entries(window.localStorage).filter(([k,v])=>k.indexOf('elixir')>0).map(([k,v])=>v).map(JSON.parse)[0].access_token)})(navigator)
- Log in to ingest ui
- Click the copy token bookmark
- The token will be copied to the clipboard.