This npm package provides a customizable chatbot component for use in web applications, designed specifically for React environments.
You can install the @cmnd-ai/chatbot-react
from npm using npm or yarn:
npm install @cmnd-ai/chatbot-react
yarn add @cmnd-ai/chatbot-react
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