glint-embed-react
v1.0.0
Published
React library to display Glint chatbot on your website
Downloads
3
Readme
Glint Embed React
React library to display glint chatbot on your website
Install
npm install glint-embed glint-embed-react
or
yarn add glint-embed glint-embed-react
Import
Full Page Chat
import { FullPageChat } from "glint-embed-react";
const App = () => {
return (
<FullPageChat
chatflowid="your-chatflow-id"
apiHost="http://localhost:3000"
/>
);
};
Popup Chat
import { BubbleChat } from "glint-embed-react";
const App = () => {
return (
<BubbleChat chatflowid="your-chatflow-id" apiHost="http://localhost:3000" />
);
};