Configuration

Before using the tracking library, you need to configure it by providing your API key and optionally a tracking server URL.

Getting your API Key

To obtain your API key, click here and follow the instructions to generate an API key.

Example Configuration

const { config } = require('@handit.ai/node');

// Configuring with an API key and optional tracking URL
config({
  apiKey: 'your-api-key-here',  // Required: your API key
});
  • apiKey (required): The API key for authenticating requests.

Explanation

  • The config function initializes the library, setting the API key and the URL for the tracking server.

Last updated