Socket
Socket
Sign inDemoInstall

@ada-support/embed2

Package Overview
Dependencies
28
Maintainers
9
Versions
235
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ada-support/embed2

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](https://developers.ada.cx/reference/add-chat-to-website).


Version published
Weekly downloads
3.6K
increased by0.22%
Maintainers
9
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 18 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc