@ada-support/embed2
TypeScript icon, indicating that this package has built-in type declarations

1.7.10 • Public • Published

Embed 2

Embed 2 allows clients to setup Ada Web Chat in their web application. For further information on how to use Embed, check out our documentation.

1. Installation

NPM:

npm install @ada-support/embed2

Yarn:

yarn add @ada-support/embed2

This will install the Embed 2 package and it's dependencies.

2. Usage

First, import Embed 2 into your App:

import adaEmbed from "@ada-support/embed2";

Second, place the code below to start Embed 2 when the DOM is ready:

adaEmbed.start({
  handle: "bot-handle",
});

In the example above the handle key is a part of AdaSettings. To learn more about other settings, consult the API reference.

Readme

Keywords

none

Package Sidebar

Install

npm i @ada-support/embed2

Weekly Downloads

4,182

Version

1.7.10

License

ISC

Unpacked Size

695 kB

Total Files

73

Last publish

Collaborators

  • msa-npm
  • leahbelyea
  • lucaimbrogno
  • ebumbulis-ada
  • oswaldog
  • michaellazz
  • wole-ada
  • seva.rubbo
  • adashajesh