The publishing page

To share and embed your assistant, first go to the publishing page:

https://genii.tolk.ai/publish

There you’ll find the public, shareable link. Click “Copy Link” to copy the URL of your Genii Studio to your clipboard and share it with your team so they can test the agent.

Embed it on your website

If you’d like to add the widget to your website, you can choose from our two themes:

<aside>

Note: The two themes cannot be installed together on the same page due to conversational logic (a single visitor cannot have two open conversations on your site at the same time).

</aside>

Then click “Copy to Clipboard” and paste the code at the top of the <head> tag on your website.

image.png

Publish via Google Tag Manager

image.png

ℹ️ These images are examples; be sure to copy and paste the scripts from your genii dashboards to ensure you have the correct information.

Understanding the genii script: Taking It Further

Imagine you need to override parameters on specific pages. You can add a few parameters within the script. Here are all the available parameters:

<script 
  type="module" 
  project-id="your-project-id"
  template="widget"
  src="<https://genii-script.tolk.ai/lightchat.js>"
  sources="true"
  id="lightchat-bot">
</script>