Integrate Salesforce Einstein chatbot in website built using Dot Net and Angular

2.7k views Asked by At

I am trying to add chatbot feature to my website (built using .Net and Angular). So, I am thinking of using Salesforce Einstein Chatbot for it. But is it possible to add Einstein chatbot feature to my website as I don't see any results on google on how to integrate Einstein chatbot to external website built using .Net and Angular.

1

There are 1 answers

3
eyescream On

There's nothing special about Angular and out of the box chat uses only Salesforce, there's no .NET integration. What have you tried so far, what problems/errors you have? We are not a magical free code writing service.

After you finish configuring the bot you end up with a piece of JavaScript code you have to put on your site (can be in otherwise plain html page or Angular app or whatever)

If you don't have the bot yet, https://trailhead.salesforce.com/content/learn/modules/service_bots_basics and https://trailhead.salesforce.com/en/content/learn/projects/build-an-einstein-bot are good start.

Once you have it, go to Setup -> Embedded Service Deployments and you should find piece of HTML to inject into any page you want.

schreenshot of sample autogenerated code

You might have to "Angularize" it, put the initialisation into page load event (How to execute AngularJS controller function on page load? ng-init? I don't know, I'm not Angular dev), maybe move styles to separate file.