Skip to main content

Installation

Ensure you have completed the Prerequisites section before continuing.

If you're using npm:

npm install @dashx/browser

If you're using yarn:

yarn add @dashx/browser

Configure the DashX client as early as possible in your application:

import DashX from '@dashx/browser'

DashX.configure({
publicKey: '<YOUR PUBLIC KEY>', // required
baseUri: '<YOUR BASE URI>', // optional
targetEnvironment: '<YOUR ENVIRONMENT>' // optional
})