Install guides / HTML & custom sites
Install Embent on any HTML site
One script tag, no build step, no framework. If you can edit your HTML, you are done in under a minute.
Before you start
- Access to edit the HTML files or templates your site serves.
Steps
Copy your embed snippet
In your Embent dashboard, open your bot's Overview and copy the embed snippet. It looks like this:
<script src="https://api.embent.com/widget.js" data-bot="YOUR_BOT_ID" async></script>Paste it before the closing </body> tag
Open the file or template that renders every page — on most static sites that is a shared layout or footer include — and paste the snippet just before the closing </body> tag.
Publish your changes
Upload or deploy the edited file the way you normally publish your site.
Check it worked
Reload your site: the chat bubble appears in the corner. Ask it a question about your own pages and it should answer with a citation.
If it doesn't work
Tried it and the widget isn't showing? These fix nearly every case.
Common questions
The chat bubble in the corner is Embent itself, running on this page — ask it anything about us.