Before starting, create a new project in Atatus. When you create one, you will see your API Key and a small snippet of code, which you have to copy into the head tag of every HTML page. Please make sure that you add it before other script tags are added. You can also find the same snippet inside the project settings as well. You can also install browser agent from package managers such as YARN and NPM.

With NPM

  1. Install atatus-spa from the npm registry:
  2. Import and initialize atatus to monitor your application:
For more advanced options on installing your monitoring code, view customizing agent.

Test Integration

To verify that your integration is working, call notify() in your application:
An error will appear in your project dashboard.