Integrate Debales AI Assistant

Follow these simple steps to add the AI assistant to your React application

Installation

Install the @debales-ai/ai-assistant package using npm, yarn, or pnpm:

Terminal
$ npm install @debales-ai/ai-assistant

You also need to install the peer dependency styled-components:

Terminal
$ npm install styled-components

Usage

Import the Chatbot component and add it to your application with your unique bot ID:

App.jsx / App.tsx
import { Chatbot } from '@debales-ai/ai-assistant';

export default function App() {
  return (
    <div className="App">
      <Chatbot botId='your-bot-id' />
    </div>
  );
}