Everything you need to know about installing, customizing, and training your Repliii chatbot.
Insert these two scripts before the closing </body> tag of your website.
<script src="https://psanilp.github.io/xfbot/bot.js" defer></script>
<script>
var xfbotConfig = {
apiEndpoint: 'https://xf.com.mt/repliii/bot/',
userId: 'botdemo', // ⚠️ REPLACE 'botdemo' WITH YOUR USER ID
headerTitle: 'Support Bot',
// ... add customizations here
};
</script>
Note: This requires a Premium Wix plan that supports Custom Code.
You can edit the `xfbotConfig` variable in your script to match your brand colors.
| Setting | Description |
|---|---|
| headerBgColor | The background color of the top bar (Hex code). |
| headerTitle | The name displayed at the top (e.g., "Support Bot"). |
| toggleButtonBgColor | The color of the circular button in the corner. |
| svgLogo | Replace the default icon with your own SVG code. |