markdown macros: Add create-a-bot-indented macro.

This commit is contained in:
Eeshan Garg 2018-02-17 18:33:38 -03:30 committed by showell
parent bd787c12c4
commit e94efe5497
2 changed files with 13 additions and 12 deletions

View File

@ -0,0 +1,12 @@
Next, on your {{ settings_html|safe }},
[create a bot](/help/add-a-bot-or-integration) for
{{ integration_display_name }}. Make sure that you select
**Incoming webhook** as the **Bot type**:
![](/static/images/help/bot_types.png)
The API key for an incoming webhook bot cannot be used to read messages out
of Zulip. Thus, using an incoming webhook bot lowers the security risk of
exposing the bot's API key to a third-party service.
Fill out the rest of the fields, and click **Create bot**.

View File

@ -1,15 +1,4 @@
Next, on your {{ settings_html|safe }},
[create a bot](/help/add-a-bot-or-integration) for
{{ integration_display_name }}. Make sure that you select
**Incoming webhook** as the **Bot type**:
![](/static/images/help/bot_types.png)
The API key for an incoming webhook bot cannot be used to read messages out
of Zulip. Thus, using an incoming webhook bot lowers the security risk of
exposing the bot's API key to a third-party service.
Fill out the rest of the fields, and click **Create bot**.
{!create-a-bot-indented.md!}
Now, construct the URL for the {{ integration_display_name }}
bot using the bot's API key and the desired stream name: