WebMobile Client Embed Code is not working

Hello

I want to try the Web Mobile hosted by Kore with Embed Code and it not working in my html.

The instruction says:

Copy and paste the following HTML code before the end of the BODY tag on every page of the application where you want to display the chat widget

<link rel='stylesheet' href='https://bots.kore.ai/webclient/UI/dist/kore-ai-sdk.min.css'></link>
<script src='https://bots.kore.ai/api/platform/websdkjs/e23500b4136a4cd89f66a1ccc3e415c8dac82d505c534af68220779be44d21bfst1c'></script>
<script>KoreSDK.show(KoreSDK.chatConfig);</script>

I created an HTML file in my computer just to see how it works, but it’s not working.

Also the line <script>KoreSDK.show(KoreSDK.chatConfig);</script> it’s not targeting any outside src

My html code

<!DOCTYPE html>
<html>
    <body>
      <link rel='stylesheet' href='https://bots.kore.ai/webclient/UI/dist/kore-ai-sdk.min.css'></link>
<script src='https://bots.kore.ai/api/platform/websdkjs/e23500b4136a4cd89f66a1ccc3e415c8dac82d505c534af68220779be44d21bfst1c'></script>
<script>KoreSDK.show(KoreSDK.chatConfig);</script>
    </body>
</html>

I was expecting with that Web Mobile hosted by Kore Embed Code to see the chatbot image launcher without all the SDK config.

We need this simplicity to offer our clients they only need to embed that code to their HTML so they can test te solution.

Hello @daniel ,

Do you see any error in console. This could have happened because the website in which you are embedding is not whitelisted.

In builder , navigate to the websdk channel and ensure the domain is added as part of the whitelist domains.

Check if that resolves the issue.

Thanks @sameera.tumuluri

The issue was because I didn’t add the domain into the whitelist domains.

Kind Regards