How to connect Slack and Plastic SCM
In a previous post, we saw how to connect Plastic with Discord.
Let's see now how to connect Plastic with Slack and receive Plastic events on our Slack channel thanks to webtriggers.
Configuring Slack to receive Plastic events
- Open the Slack workspace you want to receive Plastic events.
- Click on Browse Apps in the Apps section:
- Select App Directory:
- It will open your browser to see all existing Apps approved for your workspace. Click on Build:
- Select Create a custom app:
- Insert your new App Name, your workspace, and click on Create App:
- Add Bots functionality:
- We will add permissions. Click on Review Scopes to Add:
- We need to add some Bot Token Scopes (no User Token Scopes):
channels:read
,chat:write
,groups:read
,im:read
,mpim:read
, andusers:read
: - Once added, at the top of the page, click on Install to Workspace:
- Accept permissions and click on Allow. Depending on your permissions in the selected workspace, your new Application will be installed directly or it will send a request to an administrator of the workspace:
- When your new Application is installed in your Slack workspace, a new Bot User OAuth Token will be generated. This is your authorization token. Save it for Plastic Triggers:
- Now, go to Slack and search and add your new App in the Browse App menu:
- Now, click on your App and go to conversation details:
- We need to include our new App in the channel we want to send messages. Open More menu and click on first option Add this app to a channel:
- Select your channel and use this channel name and Slack Bot Token con create your own triggers in Plastic Cloud.
0 comentarios: