List the script in mkdocs.yml, then put the box on any page. Works with Material for MkDocs.
mkdocs.yml
extra_javascript:
- https://askthissite.com/embed.js
Any .md page
<div data-everypage-site="YOUR-SITE-ID"></div>
Your site id is on your site's page after you sign up.