We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Apr 6, 2020 3:33 PM
Hi ,
We are trying to integrate HubSpot Chat/conversation feature in our Website and mobile app with following requirement.
1) Once Customer log in to our App/Website with user id and password, we have Help tab, within Help section we need Chat icon and when user click it it should pop up chat window for further communication with our Service team.
2) Chat Functionality should have Live chat + Knowledge base + Bot functionality available.
I have gone through https://developers.hubspot.com/docs/methods/conversations_api/hubspot-conversations-javascript-api
I didnt understand how to implement it, can you provide me few examples?
I have already implemented and tested HubSpot Stnadard LiveChat/Bot/Knowledge base solution as per this documentation https://knowledge.hubspot.com/chatflows/create-a-live-chat, however its not helpful as those solutions are direct website link based, not for logged in Id and password user based websites.
Let me know what are best solutions you have.
Thanks,
Shalini Ranjan
Nov 8, 2021 4:47 AM
Hi Shalini, I also have a similar requirement. Need to add hubspot live chat in my angular website. Can you suggest what worked for you? or guide me.
Apr 8, 2020 2:37 AM
Hey @sranjan,
Thank you for sharing your use case!
To clarify, are you looking to implement the HubSpot chat widget on your external page? If so, I do not believe that you'd need to use the Conversations API (unless your web app is a SPA).
When looking to have the HubSpot chatflow appear on your external page, you just have to installed the embed code on your website and set the right targeting rules.
In this case, if you've both the live chat and bot set to appear on the same page, the live chat will take precedence.
Apr 8, 2020 12:37 PM
Yes our Webpage and APP both are based on Angular Js so its SPA.
Can you provide me an example/documentation for Conversational API for SPA?
Whatever suggection you have suggested, I have already implemented and tested, it didnt give us solution.