Skip Navigation
Expand
Setting up Web Chat for Service or Embedded Chat Inlay
Answer ID 11386   |   Last Review Date 07/18/2024

How do I setup Web Chat for Service or an Embedded Chat Inlay?

Environment:

B2C Service Chat
Oracle B2C Service

Resolution:

The following is required to invoke Web Chat for Service or an Embedded Chat Inlay on a customer portal page or on your corporate webpage. Oracle B2C Service customers must set the OIT_CORS_ALLOWLIST configuration setting properly to ensure your chosen chat UI is approved to interact with your site. For testing purposes, you can set a value of .* to allow all sites to interact with the chat UI. However, this value is not recommended for production. Place the following code on your webpage for an Embedded Chat Inlay once the configuration setting is updated.

<script
    id="oit-loader"
    src="https://{interfaceOrSiteName}.widget.custhelp.com/s/oit/latest/common/v0/libs/oit/loader.js" async>
</script>

<inlay-oracle-chat-embedded
     id="chatInlay"
     class="inlay"
     site-url="{interfaceOrSiteName}.widget.custhelp.com" >
</inlay-oracle-chat-embedded>

For further documentation for chat Inlay parameters refer to  Answer ID 10585: Parameters for Chat Inlay.

Notify Me
The page will refresh upon submission. Any pending input will be lost.