Buildship Bot for NextJs
Hi everyone,
Excited to be using Buildship for a knowledge bot! I came across this chatbot widget and wanted to know if this was available for Nextjs?
https://github.com/rowyio/buildship-chat-widget?tab=readme-ov-file#step-3-config-properties-and-customization
GitHub
GitHub - rowyio/buildship-chat-widget: AI Chat Widget - flexible an...
AI Chat Widget - flexible and lite chat widget that can connect to OpenAI Assistant, any database, tools - rowyio/buildship-chat-widget
Solution:Jump to solution
Hey @coop2432, here's one way you can do this:
First, install the NPM package in your project: https://www.npmjs.com/package/@buildshipapp/chat-widget
Second, you can initialize the widget in any page or component you want using useEffect. Lets say you want to do this in
page.tsx
:...1 Reply
Solution
Hey @coop2432, here's one way you can do this:
First, install the NPM package in your project: https://www.npmjs.com/package/@buildshipapp/chat-widget
Second, you can initialize the widget in any page or component you want using useEffect. Lets say you want to do this in
page.tsx
:
Finally, follow these steps to connect the widget with your BuildShip workflow: https://github.com/rowyio/buildship-chat-widget?tab=readme-ov-file#step-2-connecting-the-chat-widget-to-your-buildship-workflow