Skip to content
Docs/custom html

Custom HTML

Add your AskGPT chatbot to any website that allows custom HTML.

Paste before </body>

On any website with HTML access, add the embed script before the closing </body> tag in your page template.

<script src="https://askgpt.ai/widget.js" data-bot-id="YOUR_BOT_ID" defer ></script>

Where to add it

Add the script in your global layout file, master template, or shared footer so it loads on every page automatically.

  • In a shared layout or master template
  • In the global footer include
  • In your CMS theme's footer file

Need more help?

Contact support and we'll get back to you within 24 hours.