jinni-bot
Version:
A vanilla JavaScript library for embedding the Jinni Chatbot
64 lines (41 loc) • 2.1 kB
Markdown
## Description
Jinni bot engages with visitors, captures all the required details, and filters motivated vendors and landlords through AI-powered fully customisable conversations. It automatically books valuations and callbacks, and even enables you to chat with potential customers in real-time.
Save your valuable time and effort spent locating inquiries from vendors and landlords in emails and voice messages. Reach out to your customers and secure them before your competitors do.
<!-- [](https://choosealicense.com/licenses/mit/)

[](https://lerna.js.org/)
[](https://github.com/livechat/chat-widget-adapters/actions/workflows/check.yml) -->
## Installation
Using npm:
```bash
npm i jinni-bot
```
<!-- or using yarn:
```bash
yarn add @livechat/widget-react
``` -->
## Usage
### Render
```js
const App = () => {
useEffect(() => {
import("jinni-bot");
}, []);
return <div>
<jinni-bot
botId={Your_Bot_Key}
botTheme="Your_theme"
visible={true}
/>
</div>
};
```
### Props
All properties described below are used for initialization on the first render and later updates of the chat widget with new values on change.
| Prop | Type |
| ---------------------- | -------------------------------------- |
| botId | Provided chatbot key |
| botTheme | String |
| visible | Boolean (default true) |
<!-- ## License
The code and documentation in this project are released under the [MIT License](https://choosealicense.com/licenses/mit/). -->