Getting Started with Node.js Apps

These short and simple guides will get you familiar in integrating Atatus with Node.js apps and start tracking error and performance. Let’s go through the steps to get you started.


Install Atatus Node package

npm install --save atatus-node

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.

atatus.start({ apiKey: "YOUR_API_KEY" });
Replace the YOUR_API_KEY string with the API Key that is assigned for your project.

Send an event

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