Website Integration


Add aiaibot script tag

After you have configured your domains for your website, you can add the aiaibot script tag to your website to integrate the aiaibot chatbot. You can find the script tag under Settings -> Chatbot in the Website Integration section.


Please add the script tag directly before the closing-body-tag </body> on your website as in the following example.


    <title>Your Website</title>
    <!-- ... -->
    <script type="text/javascript" src="" data-aiaibot-key="<your-key>" defer></script> 



Customize Content-Security-Policy (CSP)

If needed, add the aiaibot domains to your Content-Security-Policy (CSP):

frame-src *
default-src *
Was this article helpful?
5 out of 9 found this helpful