CtrlB
Search
K

Installation

  1. 1.
    Our node agent can be installed from npm.
npm install @ctrlb/heimdall
  1. 2.
    Once installed, import our agent at the top of your code as follows.
JS example
const heimdall = require('@ctrlb/heimdall');
heimdall.start({
apiKey: '<Your_Api_Key>'
});
TS example
import * as heimdall from '@ctrlb/heimdall';
heimdall.start({
apiKey: '<Your_Api_Key>'
});
You can get your API key by clicking the user profile icon > Profile in IDE plugin.
Other configuration parameters can also be specified as mentioned in configuration.
  1. 3.
    Now you can run your application as you usually would like
node app.js
Do go through Release Notes to read more about current possibilities and limitations.
Last modified 4mo ago