Home / Installing the AI Bot on Your Website / How to install your chatbot on a Weebly website

Adding custom code to your site

Before you begin:Make sure that your site is published and has a connected domain.

To add custom code to your site:

  1. Go to Settings in your site's dashboard.
  2. Click Custom Code in the Advanced section.
  3. Click + Add Custom Code at the top right.
  4. Paste the code snippet in the text box. 
  5. Enter a name for your code.
    Tip: Give it a name that is easy to recognize so you can quickly identify it later. 
  6. Select an option under Add Code to Pages:
    • All pages: This adds the code to all of your site's pages, including any new pages that you create in the future. 
      • Choose whether to load the code only once per visit, or on each page your visitor opens.
    • Choose specific pages: Use the drop-down menu to select the relevant pages.
  7. Choose where to place your code under Place Code in:.
    • Head
    • Body - start
    • Body - end
  8. Click Apply.