We have developed an e-commerce website for one of our clients in Next JS and suggested they use Yellow AI as a chatbot for the website.
But we are not able to integrate the same, please help us implement Yellow AI with NextJS as there is no documentation available, and it’s quite urgent.
You can have the script in any component of your nextJS app as you seem fit and take it one level further with custom payloads, authentication and other such functions.
Note: Make sure you swap the botID for your Production/Live bot
Please let me know if you’re facing any challenges with the bot script.
The solution worked; thank you for the super quick TAT.
The challenge was with the Script Tag of Next JS (v12); it was not executing the script with dangerouslySetInnerHTML as we do for GA/GTM/MSC etc.
The way you suggested creating a static folder worked. I have created a static folder inside the public folder with the filename as instructed and then provided the file’s path.
Thank you very much, team for resolving this at god speed