From bc43ea21738a9981c78e2ed6d7c642c3d28bb046 Mon Sep 17 00:00:00 2001 From: Isha Errande <90360951+ise8933@users.noreply.github.com> Date: Wed, 1 May 2024 20:21:13 -0400 Subject: [PATCH] Adding an extra Step to choose Scratch Option. (#110) * Update SETUP.md Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> * Update SETUP.md Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> * Update SETUP.md Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> * Update SETUP.md Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> * Update SETUP.md Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> * Update SETUP.md Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> * Update SETUP.md Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> * Update SETUP.md Added more images under setting up events, Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> --------- Signed-off-by: Isha Errande <90360951+ise8933@users.noreply.github.com> --- SETUP.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/SETUP.md b/SETUP.md index 09a5432..928777f 100644 --- a/SETUP.md +++ b/SETUP.md @@ -3,7 +3,8 @@ * First, we recommend [creating a new workspace](https://slack.com/get-started#create) where you won’t disrupt real work getting done. * [Create a Slack app](https://api.slack.com/apps/new) and install it to the new workspace you created. - +* After clicking a create a Slack app two options should appear. Choose the from scratch option to use this configuration UI . + ![image](https://github.com/ise8933/chaoss-slack-bot/assets/90360951/e085ea5b-b98d-47cc-8c2d-c1563fddf88b) * Click on the `Create App` button to go to the **Basic Information** page. ![](https://slack.dev/bolt-js/assets/basic-information-page.png) @@ -73,9 +74,12 @@ To listen for events happening in a Slack workspace (like when a message is post CHAOSS Slack Bot uses Socket Mode. * Head to your app’s configuration page (click on the app from your [app management page](https://api.slack.com/apps)). Navigate to Socket Mode on the left side menu and toggle to enable. + + ![image](https://github.com/ise8933/chaoss-slack-bot/assets/90360951/56a53067-36ef-456c-aa72-e3287a3267f7) * Go to **Basic Information** and scroll down under the App Token section and click **Generate Token and Scopes** to generate an app token. Add the `connections:write` scope to this token and save the generated xapp token. - + ![image](https://github.com/ise8933/chaoss-slack-bot/assets/90360951/36471450-4560-4c81-8bdb-06c32fd83843) + * Scroll down to **Subscribe to Bot Events** and select the events you want your bot to listen to. CHAOSS Slack Bot currently subcribes to [these events](https://docs.google.com/document/d/1NJd-nNKUNb3Q0lRb5cfmUU8kpRcYGjh-vPqpk4CCvic/edit#heading=h.vaz3oyzblsm7). The other available events are documented at [api.slack.com/events](api.slack.com/events). * Follow the rest of the instructions in the [CONTRIBUTING.md](https://github.com/chaoss/chaoss-slack-bot/blob/main/CONTRIBUTING.md).