Skip to main content
WARNING You're browsing the documentation for an old version of Deskpro. Consider updating to Deskpro Horizon.

Add Widget and Chat to your site

in Messenger
Authors list
Published: 20 Jul 2020|Last updated: 8 Oct 2020

As well as displaying chat on your Helpcenter you can add it to your own site.

Embed codeCopy link to Embed code to clipboard

Navigate to User Interface > Messenger Setup > Add widget and chat to your site and you'll see the embed code.

You can simply copy and paste this into your website. We recommend putting the code just before the </body> tag.

The embeded widget will pull the properties from your settings in the Messenger setup so you can amend these to change its appearence.

Other Embed OptionsCopy link to Other Embed Options to clipboard

Show the widget on the portal: This is enabled by default and simply means Messenger will show on the Helpcenter as well as on your own site if you've embeded it. You can disable this if you'd only like it to be available through your own site.

JWT SecretCopy link to JWT Secret to clipboard

You can sign the Chat Widget with a JWT Token. Read more about this in the topic on JWT signing

Domain WhitelistCopy link to Domain Whitelist to clipboard

You'll need to whitelist the sites that you will use Messenger on (use commas to separate multiple sites).

If you have https enforced be sure to include the protocol as well e.g. https://www.deskpro.com

Including a '/' at the end of the site address may prevent the whitelist from working. E.g. https://www.deskpro.com would work but https://www.deskpro.com/ may not.

Overriding Widget SettingsCopy link to Overriding Widget Settings to clipboard

Read this article from our Knowledgebase for details on how to override the default Messenger settings when you embed your widget

HelpfulUnhelpful
next pageSigning the Messenger widget with a JWT token
previous pageMessenger Setup

Please log in or register to submit a comment.