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

:information_source: Incoming webhooks in Google Chat are only available to Google Workspace accounts. They are not available for personal Google accounts.

  1. In Google Chat, open the space where you want to add the webhook.
  2. At the top, next to the space name, click the drop-down arrow, then click Apps & integrations.
  3. Click Add webhooks.
  4. Enter a name like “My Discourse Community”, and optionally enter an avatar URL for the bot.
  5. Click Save.
  6. 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 Chat 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.

Last edited by @JammyDodger 2024-05-26T07:09:19Z

Check documentPerform check on document:
8 Likes