@@ -21,9 +21,9 @@ Getting Credentials
21
21
2. Activate the following features:
22
22
23
23
- Interactivity & Shortcuts > Interactivity (if your bot uses any `interactive components <https://api.slack.com/reference/block-kit/interactive-components >`_ , e.g. buttons)
24
- - Add your Rasa request URL ``http://<host>:<port>/webhooks/slack/webhook ``, replacing
25
- the host and port with the appropriate values that point to your Rasa X or Rasa Open Source deployment.
26
- - Event subscriptions > Subscribe to bot events: message.channels, message.groups, message.im & message.mpim
24
+ - Add your Rasa request URL ``http://<host>:<port>/webhooks/slack/webhook ``, replacing
25
+ the host and port with the appropriate values that point to your Rasa X or Rasa Open Source deployment.
26
+ - Event subscriptions > Subscribe to bot events: `` message.channels ``, `` message.groups ``, `` message.im ``, `` message.mpim ``
27
27
- App Home > Always Show My Bot as Online
28
28
29
29
3. Get the ``Bot User OAuth Access Token `` from the OAuth & Permissions page. Click ``Install App to Workspace ``
@@ -32,7 +32,7 @@ Getting Credentials
32
32
with ``xoxb ``.
33
33
34
34
4. In the "OAuth & Permissions > Redirect URLs" enter the endpoint for receiving Slack messages. This is
35
- the same URL you entered above for Interactivity & Shortcuts -``http://<host>:<port>/webhooks/slack/webhook ``.
35
+ the same URL you entered above for Interactivity & Shortcuts - ``http://<host>:<port>/webhooks/slack/webhook ``.
36
36
37
37
5. Go to the "Event Subscriptions" section, turn on the "Enable Events" and add the endpoint here also.
38
38
@@ -62,7 +62,6 @@ You need to supply a ``credentials.yml`` with the following content:
62
62
addition to the default behavior of listening for direct messages and app mentions, i.e. "@app_name". To get the channel
63
63
id, right click on the channel choose Copy Link and the id will be the last component in the URL.
64
64
65
-
66
65
- Use the entry for ``Bot User OAuth Access Token `` in the
67
66
"OAuth & Permissions" tab as your ``slack_token ``. It should start
68
67
with ``xoxb ``.
0 commit comments