Developer Docs

Introduction

Installation

SDK packages can be installed as follows:

Using script tags

The following packages are available as direct script tags:

1<script defer src="https://unpkg.com/@nlxai/touchpoint-ui/lib/index.umd.js"></script>
  • @nlxai/core - talk to a bot in plain JavaScript without a bundler:
1<script defer src="https://unpkg.com/@nlxai/core/lib/index.umd.js"></script>
1<script defer src="https://unpkg.com/@nlxai/voice-plus-core/lib/index.umd.js"></script>

Using npm

All packages are available on npm as CommonJS modules. They are written in TypeScript and include comprehensive type definitions.

1# Touchpoint UI 2npm install @nlxai/touchpoint-ui 3 4# Core chat SDK 5npm install @nlxai/core 6 7# Voice+ 8npm install @nlxai/voice-plus-core