This howto describes how to set up the Webex provider included in discourse-chat-integration
.
Install
If you haven’t already, install the discourse-chat-integration plugin
Setup Webex
- Navigate to the Space where you want to add the webhook and click the cog wheel in the Space’s title bar.
- Choose Add apps from the drop-down menu.
- In the browser window that opens for the Cisco Webex App Hub, search for Incoming Webhooks.
- Click the Connect button at the top right.
- Wait for the newly opened tab to load. Or not. It seemed to just spin out forever for me.
- Get back to the previous tab where you clicked the Connect button. Refresh if required, until it shows Disconnect instead. Don’t click it.
- Scroll down, you’ll find a form there now.
- Give your new Webhook a name, and select a Space from the drop-down list. It should list all the Spaces you have access to.
- Click Add.
- Copy the Webhook URL to clipboard, you’ll need it for the next steps.
Setup Discourse
-
In your site settings, enable the chat integration webex enabled setting
-
Go to the Plugins tab, then Chat Integrations
-
Go to the Webex tab, and click Add Channel
-
Enter the name of your Webex channel/Space (e.g. discourse)
-
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 the chatbox of your Webex Space.
-
Setup some Rules for your channel, according to the discourse-chat-integration 23 instructions.
-
Celebrate