|
| 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 | +  |
| 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 | +  |
| 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 | +  |
| 34 | +- Afterwards, the text channel should have a new message |
| 35 | +  |
| 36 | +- Go to [Slack's webhook documentation](https://api.slack.com/messaging/webhooks) to learn more about setting up webhooks. |
0 commit comments