Onboarding
This guide assumes you have already completed the onboarding process. The onboarding will have the bot set up with a basic Identity and a short description.
Adding the widget to your website
Go to Settings > Chat widget and copy your embed script:
<script
defer
src="https://getmegadesk.com/embed.js"
data-pub="YOUR_TENANT_ID"
>
</script>
Paste this into the <head> tag of your HTML file. The head tag is located at the top of your HTML file and will most likely already have some <script> tags present.
Restart your website and you now have your own chatbot ready to serve your customers. Try asking it what the company does — it will refer to the description you wrote during onboarding.
Right now the bot does not have much context. You can hide it temporarily under Settings > Identity by scrolling down and enabling "Hide bot".
Next steps
Now that the widget is live, head to the Identity docs to customize the bot's appearance and behavior.
