Skip to content

Commit

Permalink
Update README.md (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenix2809 authored Aug 4, 2023
1 parent 0d96a20 commit 99daa93
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions superagi/tools/slack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,36 @@ Set up the SuperAGI by following the instructions given (https://github.com/Tran

1. Create an Application on SlackAPI Portal

<img src="https://github.com/Phoenix2809/SuperAGI/assets/133874957/9e612d67-439c-4e45-901a-38c61b52b08f" width=600px>
![Slack_1](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/c05100b7-ca04-4da7-ad38-6ca539d5ee1d)

2. Select "from scratch"

<img src="https://github.com/Phoenix2809/SuperAGI/assets/133874957/c9dcfb6a-8403-49d1-bdf4-680dd1d9d8bf" width=600px>
![Slack_2](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/8f3ce630-8483-40e3-9026-402933eb47f7)

3. Add your application's name and the workspace for which you'd like to use your Slack Application

<img src="https://github.com/Phoenix2809/SuperAGI/assets/133874957/af21f530-25aa-4bbc-a555-3d52f9bd42eb" width=600px>

4. Once the app creation process is done, head to the "OAuth and Permissions" tab
![Slack_3](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/e871e954-a4fb-4ae3-8ade-1022cdb6a613)

<img src="https://github.com/Phoenix2809/SuperAGI/assets/92881074/38e8761d-5d48-4d94-bf36-0c9561a96942" width=600px>
4. Once the app creation process is done, head to the "OAuth and Permissions" tab

![Slack_4](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/710a640c-0312-4085-a46e-1b19a13ef85f)

5. Find the “**bot token scopes”** and define the following scopes:

**"chat:write",**  and save it

<img src="https://github.com/Phoenix2809/SuperAGI/assets/133874957/7d1d00a9-ff10-4694-9781-490e4f9b80d8" width=600px>
![Slack_5](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/48142090-00bc-4de6-9dc9-dab2e6b8ca92)

6. Once you've defined the scope, install the application to your workspace

<img src="https://github.com/Phoenix2809/SuperAGI/assets/133874957/fe206e70-14d4-4595-bbcc-f92ad2a7e950" width=600px>
![Slack_6](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/e348b3db-daa8-43a7-ab02-159bb12686b8)

7. Post installation, you will get the bot token code

<img src="https://github.com/Phoenix2809/SuperAGI/assets/92881074/10581710-12e5-4bc8-a1e8-18d1a892faff" width=600px>

![Slack_7](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/79e5fbc2-1554-4907-a13e-a0103793e3cb)

8. Once the installation is done, you'll get the Bot User OAuth Token, which needs to be added in the Slack Toolkit Page
8. Once the installation is done, you'll get the Bot User OAuth Token, which needs to be added to the Slack Toolkit Page

<img src="https://github.com/Phoenix2809/SuperAGI/assets/133874957/2ecf1abf-1384-41f1-a317-c77d20f55330" width=600px>
![Slack_8](https://github.com/TransformerOptimus/SuperAGI/assets/133874957/d8574ffc-06d3-4099-bc07-1e16a287c192)

Once the configuration is complete, you can install the app in the channel of your choice and create an agent on SuperAGI which can now send messages to the Slack Channel.

0 comments on commit 99daa93

Please sign in to comment.