How to install within a ServiceNow portal.
If you're installing the chatbot within a ServiceNow portal, the following code will need to be used in replacement of the installation script provided within the Ivy.ai Admin Portal:
<script>
setTimeout(function() {
(function(d, script) {
script = d.createElement('script');
script.type = 'text/javascript';
script.referrerPolicy = "no-referrer-when-downgrade"
script.async = true;
script.src = 'https://bot.ivy.ai/bot/script/category/YzAJLd3Z2emp0qGkkRGENr5By1kjxxxx';
d.getElementsByTagName('head')[0].appendChild(script);
}(document));
}, 1000)
</script>
The bolded URL above will need to be replaced with the src=URL located in Chatbot » Installation. Make sure to keep the URL within quotations. Reference the screenshot below.