Get started
Setting up the npm module

Let's set up the package

Install the package

Use your favourite package manager to install the npm package

The type definitions are also shipped in the same package. You don't need to install any supporting library for type definitions

Initialize the wrapper component

What are these arguments for the wrapper component?

  1. connectionEndpoint - This is the URL of the domain where you've hosted the notifi dashboard
  2. projectApiKey - An API key issued from the project
  3. projectId - The public ID of the project

How do I set these values?

The recommended way would be to use environment variables to set these values.

Working sandbox