Setting up Node.js monitoring is easy

This short and simple guide will get you familiar in integrating Atatus with Node.js apps
and start tracking error and performance.

Node.js

Install Atatus Node package

npm install --save atatus-nodejs

Start Atatus Node

Require atatus in your Node app and invoke start with your API key. It should be the first line of your server code.

var atatus = require("atatus-nodejs");
atatus.start({
  licenseKey: "YOUR_LICENSE_KEY",
  appName: "YOUR_APP_NAME"
});
Replace the YOUR_LICENSE_KEY and YOUR_APP_NAME.

Send an event

Just restart your Node.js app. That's it! You've sent your first event.