< All Topics

Setting up Slack Authorization

This article will help you understand how to authorize slack.


You must adhere to the instructions listed under Settings in order to authorize Slack.

  • In the left navigation panel, select the Settings icon.


  • Click On Slack Notification under Integrations.


  • To authorize Slack, you must first get the authorization token , which you can get in either of two ways:

    1. Automatic: Click on ‘Automatic’ and follow the steps mentioned below:

      • Go to https://slack.com. Sign into your workspace.

      • Go to https://api.slack.com/apps.

      • Click on the Generate token button.


  • Select your Slack workspace and click on Generate.


  • Copy the Access Token.


  • Paste it in the App Authorization Token and click Authorize

  • Click Allow to give access to your Slack workspace.



Note: We will authorize Slack using Manual mode steps only when Automatic mode steps are not working.













  1. Manual: Click on ‘Manual’ and follow the steps mentioned below:

    • Go to https://slack.com. Sign into your workspace.

    • Go to https://api.slack.com. Click on the Create an app button.


  • Click on option From Scratch to build the slack app from scratch.


  • Enter the App Name as “PowerRouter” and select the workspace in the dropdown under Pick a Workspace to develop your app in and click Create App.


  • Click on the OAuth & Permissions section from the left navigation panel and scroll down.


  • Under Scopes and add the following under the Bot Token Scopesby clicking on Add an OAuth Scope:

    1. Channels:read

    2. Chat:write

    3. groups:read

    4. im:write

    5. users:read

    6. User:read:email



  • Click on the Install App section from the left navigation panel.and click on Install to workspace button, then click on Allow.


  • Copy the Bot User OAuth Access Token.


  • Paste it in the Authorization section and click Authorize



  • Click on ‘Enable’ to enable Powerrouter to send slack messages.




For authorizing Slack Channels:

  • Open Slack and open the desired channel and click on the channel name on the top.


  • Click on Integrations and click on Add an App.


  • Search Powerrouter and click on Add.


  • The app got added to this channel.


Slack Component is now ready to use.

Categories
Table of Contents