Skip to content

Commit 9b8fd63

Browse files
authored
Notification service docs: Add the tutorial on how to create the slack workspace (#5939)
* add tutorial * create workspace docs * Edit img
1 parent 14ac75d commit 9b8fd63

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Notification Service: Creating a Slack Workspace
2+
3+
## Create a Slack Workspace
4+
5+
To create a Slack workspace, follow these steps:
6+
7+
- Visit [https://slack.com/get-started#/createnew](https://slack.com/get-started#/createnew).
8+
- Enter your email address and click Continue, or continue with Apple or Google.
9+
- Check your email for a confirmation code.
10+
- Enter the code on the Slack website.
11+
- Click "Create a Workspace" and follow the prompts.
12+
- For detailed instructions for androids and , refer to [Create a workspace](https://slack.com/help/articles/206845317-Create-a-Slack-workspace).
13+
14+
## Adding Channels to Your Workspace
15+
16+
After creating your Slack workspace, you can add channels by following these steps:
17+
18+
- Click the '+' icon next to 'Channels' on the sidebar of your Slack workspace.
19+
- Choose "Create a channel" and specify the channel name and purpose.
20+
- For enterprise grid organizations, refer to [Slack's help article](https://slack.com/help/articles/115001399587-Add-a-channel-to-multiple-workspaces-in-your-Enterprise-Grid-organization) for instructions.
21+
22+
## Setting Up a Webhook for Notifications
23+
24+
To set up a webhook for sending notifications to your Slack workspace:
25+
26+
- Create a [Slack app](https://api.slack.com/apps/new), following the instructions by signing in, adding name and workspace to put the app in.
27+
- After this, you'll be redirected to the setting pages of your new app. Choose **Incoming Webhook** and toggle **Activate Webhook**.
28+
- Scroll down to click the option **Add New Webhook to Workspace**.
29+
![Alt text](./screenshots/select-channel.png)
30+
- The page will give you a link associated with the app you created. This link will be where API requests are sent to send messages to your Slack workspace.
31+
![Alt text](./screenshots/webhooklink.png)
32+
- To test if the webhook works as needed, you can try sending an API request to this link to see if the message goes through. I used Postman to test this. Remember that this is an application/json file.
33+
![Alt text](./screenshots/Postman.png)
34+
- Afterwards, the text channel should have a new message
35+
![Alt text](./screenshots/result.png)
36+
- Go to [Slack's webhook documentation](https://api.slack.com/messaging/webhooks) to learn more about setting up webhooks.
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)