Integrating HelpScout Chat Widget into Discourse Platform

:bookmark: This guide explains how to add a HelpScout chat widget to your Discourse site, allowing users to initiate one-on-one chats with your team.

:person_raising_hand: Required user level: Administrator

Summary

This guide will walk you through the process of integrating a HelpScout chat widget into your Discourse site. This integration enables your users to start direct conversations with your team, enhancing user support and engagement.

Setting up HelpScout

  1. Create an account at https://www.helpscout.com/
  2. Complete the steps to set up your account and mailbox
  3. Click on Set Up Beacon

  1. Configure your Beacon settings

  1. Copy the provided scripts using the Copy button

Adding the HelpScout widget to Discourse

  1. Navigate to your Discourse admin panel: admin > customize > themes > components
  2. Click on Install
  3. Select +Create new

Create new component button

  1. Enter a name for the component (e.g., “HelpScout Chat Widget”), ensure the Type is set to “Component”, and click Create
  2. Select the theme(s) where you want to add the new component to activate it
  3. Click on Edit CSS/HTML

Edit CSS/HTML screen

  1. Go to the common > /head tab
  2. Paste the HelpScout script you copied earlier
  3. Click Save

Configuring Discourse site settings

  1. In your Discourse site settings, search for “content security policy script src”
  2. Add the following URL to the allowlist:
    • https://beacon-v2.helpscout.net/

Verifying the integration

  1. Return to your Discourse homepage
  2. You should now see the chat icon in the bottom right corner, visible to both visitors and registered users
    • If you don’t see the icon, perform a hard refresh of the site

Using the HelpScout chat widget

Once integrated, your users can initiate one-on-one chats with your team:

You can access and respond to received messages from the HelpScout dashboard and mailbox.

Last edited by @jessii 2024-08-05T18:55:30Z

Check documentPerform check on document:
9 Likes