Installation
Our node agent can be installed from
npm
.
npm install @ctrlb/heimdall
Once installed, import our agent at the top of your code as follows.
const heimdall = require('@ctrlb/heimdall');
heimdall.start({
apiKey: '<Your_Api_Key>'
});
import * as heimdall from '@ctrlb/heimdall';
heimdall.start({
apiKey: '<Your_Api_Key>'
});
Now you can run your application as you usually would like
node app.js
Last updated