Under the add a new bot view, enter the bot type, a name, an email, and optionally an avator for your bot.
Select the “Incoming Webhook” type for the bot
Click Create Bot
Copy down the API Key and email address, you’ll need it later
Set up Discourse
In your Discourse site settings, enter your Zulip server address in the chat_integration_zulip_server setting. Make sure to include the protocol. (e.g. https://chat.zulip.org)
Paste the API Key you copied earlier into the chat_integration_zulip_bot_api_key site setting
Paste the email address you copied earlier into the chat_integration_zulip_bot_email_address site setting
Enable chat_integration_zulip_enabled
Go to the Plugins tab, then Chat Integration
Go to the Zulip tab, then Add Channel
Enter a Stream that you want to send the notifications to, and a Subject to attach to the messages
Save Channel
Use the Test button on the channel you just created to check that everything’s working. You should see something like this:
Would it be possible to have the discourse server be set to an entire stream on zulip, with a zulip topic matching a discourse category/topic and allowing posting back to Discourse messages to the appropriate zulip topic as either the zulip user themselves (if matching email address) or optionally as the bot user itself (would prefer using a matching discourse user by email, I use oidc for everything so it is all unified anyway, falling back to just posting as the bot itself with an appropriate ‘who said it’). It would be amazingly userful to respond to discourse threads while using the zulip-term terminal interface without needing to spool up a web browser (especially since I don’t have a GUI at times, only a pure console interface).
EDIT1: Also, are there any issues with this and running Zulip 2.0+?
EDIT2: Matching the user from discourse to zulip via email address would be possible as well, but it would need to become a System Bot in Zulip instead of just a General Bot as would be required to post messages back to Discourse, in terms of permissions needed (System bots are ‘above’ admin). Might be a useful optional ability though.
I’m using the Discourse Chat Integration plugin to send notifications to Zulip. Currently, all notifications are sent to the same topic, but I’d like to configure it so that:
Each new Discourse post creates a new Zulip topic (thread).
Comments on the Discourse posts are sent to the corresponding Zulip topic.
I couldn’t find any documentation on whether the Subject field in the Zulip integration supports dynamic variables (e.g., {title}, {topic}) to achieve this. Could you confirm if this is possible or suggest an alternative approach?