Skip to main content

Embedding Your Chatbot on a Website

info

This document guides you in embedding your chatbot by selecting a view, copying the script or iframe code, and integrating it into your website.

  1. Select Your Chatbot: Log in to your Thinkstack account and select the chatbot you want to embed on your website. Select the chatbot that you want to embed

  2. Navigate to the Embed Section: Go to Embed > Website. Select your desired chatbot view: Bubble View, Bar View, Iframe View, or Conversational Form, based on your design and functional requirements. Go to Embed section of your chatbot and select the script

note

To embed a conversational forms, you must have created and publish the action. Only the list of published actions are available for embedding as conversational form.

  1. Copy the Script or Iframe Code: If you’ve selected Bubble View or Bar View, copy the provided script; if you’ve selected Iframe View or Conversational Form, copy the provided iframe code, respectively. Copy the script

  2. Add the Script/Iframe to Your Website Code:

➡️ For Bubble View or Bar View: Paste the script just before the closing </body> tag of your website's HTML to ensure it loads properly.
➡️ For Iframe View or Conversational Form: Paste the iframe code into the specific section of your webpage where you want the chatbot to appear (e.g., within a div or a content block). Ensure the placement aligns with your desired layout and design.

  1. Deploy the Code: After adding the script or iframe to your website’s code, deploy your updated website to make the chatbot live.

That's a wrap🎉. You have successfully embedded the chatbot on your website.