Replies: 2 comments
-
|
I've implemented Flowise chat in nextjs apps using the js method as well as the React Flowise Chat Embed component and even using the Flowise API endpoints called via nextjs api routes as opposed to the built-in js. I would imagine you might encounter issues if you're still using nextjs 12 (or maybe even 13), but there is nothing intrinsically incompatible with Flowise and nextjs from a frontend perspective. What you're looking to build (Flowise in an Azure container + js embed in nextjs) is feasible. You might want to consider using the FlowiseChatEmbed component lib instead of straight js implementation. |
Beta Was this translation helpful? Give feedback.
-
|
@r-pathak @Jaredude , I believe the main issue you are encountering is a CORS error. It's a common error that occurs on many websites when using embedded chat or similar functionalities. To check this error, follow these steps: Open your website and click on the chatbot. Note: If you are not using Nginx, then search for solutions related to the CORS topic. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
Seen a couple posts regarding how it may be difficult to deploy Flowise into Vercel, with that in mind - I wanted to share my current ideal setup and basically check-in on whether it is actually feasible.
Essentially, I want to deploy Flowise as an Azure container instance as mentioned in the docs, build my flows from said instance - but then embed the bubble chat within a NextJS app hosted in Vercel.
I can see how deploying the 'backend' is problematic in Vercel, hence the container instance - but is there any reason why the frontend embed wouldn't work in my NextJS app?
[For reference, my API is also setup in Azure using Python / Flask, on a separate app service. Therefore I don't have a deployed/actively used '/api/ folder within my Vercel app]
Hope this is clear, but let me know if I can clarify anything.
Also congrats to the founders on building this very cool project, already showing people around my workplace 🥇
Beta Was this translation helpful? Give feedback.
All reactions