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
Incoming webhooks in Google Chat are only available to Google Workspace accounts. They are not available for personal Google accounts.
- In Google Chat, open the space where you want to add the webhook.
- At the top, next to the space name, click the drop-down arrow, then click Apps & integrations.
- Click Add webhooks.
- Enter a name like “My Discourse Community”, and optionally enter an avatar URL for the bot.
- Click Save.
- Copy the Webhook URL provided.
Setup Discourse
- In your site settings, enable the
chat_integration_google_enabledsetting - Go to the Plugins tab, then Chat Integrations
- Go to the Google Chat tab. If it doesn’t appear, try refreshing the page
- Click Add Channel
- Enter a name for the channel. This is only shown in the Discourse user interface
- Paste the Webhook URL that you copied earlier, then click Save Channel
- 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:
- Setup some Rules for your channel, according to the discourse-chat-integration instructions.
Last edited by @JammyDodger 2024-05-26T07:09:19Z
Check document
Perform check on document:
