@cmnd-ai/chatbot-react
v1.3.1
Published
This npm package provides a customizable chatbot component for use in web applications, designed specifically for React environments.
Downloads
32
Readme
@cmnd-ai/chatbot-react
This npm package provides a customizable chatbot component for use in web applications, designed specifically for React environments.
Installation
You can install the @cmnd-ai/chatbot-react
from npm using npm or yarn:
npm install @cmnd-ai/chatbot-react
With yarn
yarn add @cmnd-ai/chatbot-react
Example implementation
import { ChatProvider } from "@cmnd-ai/chatbot-react";
const App = () => {
return (
<ChatProvider
baseUrl="<your-cmnd-api-base-url>"
chatbotId={"<your-chatbot-id>"}
organizationId={"<your-organization-id>"}
/>
);
};
export default App;
For more information on customizing the chatbot components, please refer here