Install the npm package
highlight.run in your terminal.
Identify users after the authentication flow of your web app. We recommend doing this in any asynchronous, client-side context.
The first argument of
identify will be searchable via the property
identifier, and the second property is searchable by the key of each item in the object.
The next step is instrumenting your backend to tie logs/errors to your frontend sessions. Read more about this in our backend instrumentation section.