Set up Google Chat notifications using the discourse-chat-integration plugin

This #howto describes how to set up the Google Chat provider included in discourse-chat-integration.

Install

If you haven’t already, install the discourse-chat-integration plugin

Setup Google Chat

  1. Navigate to the room where you want to add the webhook and click the room name at the top.
  2. Choose Manage Webhooks from the drop-down menu.
  3. Enter a name like “My Discourse Community”, and optionally enter an avatar URL for the bot
  4. Click Save
  5. Copy the Webhook URL provided

Setup Discourse

  1. In your site settings, enable the chat integration google enabled setting
  2. Go to the Plugins tab, then Chat Integrations
  3. Go to the Google tab. If it doesn’t appear, try refreshing the page
  4. Click Add Channel
  5. Enter a name for the channel. This is only shown in the Discourse user interface
  6. Paste the Webhook URL that you copied earlier, then click Save Channel
  7. Use the Test button on the channel you just created to check that everything’s working. You should see something like this in Google Chat:

  1. Setup some Rules for your channel, according to the discourse-chat-integration instructions.
5 Likes