SAP/Webchat

Be able to run the project locally

Kerumen opened this issue · 3 comments

I wanted to contribute to the project but it seems not easy.

It would be nice if npm start spawns a simple webserver serving and index.html with the webchat loaded (with a random demo token).

It would be easier to contribute to this project!

FKSI commented

Agree! I used a quick .html file + fork a hello bot on the platform.

please can you explain more by steps what to do after cloning the project?

ya332 commented

If you add the script tag <script src="https://cdn.cai.tools.sap/webchat/webchat.js" channelId="<Channel ID>" token="<token ID>" id="cai-webchat" ></script> to the index.html, your bot should appear in your landing page.