Installation

Install via NPM

  1. Contact support@deepdesk.com for an access token for our private npm registry on GitHub.

  2. Add the token to your ~/.npmrc in your home directory:

//npm.pkg.github.com/:_authToken=TOKEN
  1. Add the following line to .npmrc in the root of your project:
@deepdesk:registry=https://npm.pkg.github.com
  1. Install the Deepdesk SDK npm package together with React (Or Preact)
npm install @deepdesk/deepdesk-sdk react react-dom
  1. Use the DeepdeskSDK in your code
import { DeepdeskSDK } from '@deepdesk/deepdesk-sdk';