Add Sidebar Chat to React
Copy page
Integrate Inkeep's sidebar chat component into your React application for seamless agent conversations.
The SidebarChat widget provides a slide-out panel interface for conversing with your agents. It can be positioned on either side of your application and supports both manual triggering and automatic element triggers.
Quick Start
Add the below <script> tag to the <head> or <body> of your website.
Define an element in your page that will be the "container" for the embedded chat.
Add a button element that will trigger the sidebar chat and give it the data attribute data-inkeep-sidebar-chat-trigger. You can also use your own custom attribute if you prefer, just be sure to pass it to the triggerSelector prop.
Insert the EmbeddedChat widget by using the Inkeep.EmbeddedChat() function.
Config
Prop
Type
Base Settings
Prop
Type
AI Chat Settings
Prop
Type