You are here

White Label

This page explains how to implement a white label solution that hides Acobot URL from the installation code. Note we don't recommend you do so because it may slow down the connection speed.

Before

This is what the standard installation code looks like and how it works.

<script src="https://acobot.ai/w?key=..."></script>

After

You want to change the installation code as below so it Acobot domain name is replaced with yours.

<script src="https://yourdomain.com/w?key=..."></script>

To achieve that, one of the solutions is setting up a "relay" function on your own server. It may work as below.

Example Code

To implement the above schema, you need to set up an end point on your own web server. The end point invokes the "relay" function, which can be implemented with example code as below.