Creating our Slack application
For the bot to interact with Slack, we need to set up a Slack application:
- Navigate to https://api.slack.com/apps on your browser.
Here, you will need to click on the following button:
Figure 11.2 – Create New App button
You will then be presented with the following dialog box:
Figure 11.3 – Create an app options
- Choose the From an app manifest option. This will present the following:
Figure 11.4 – Choosing a workspace
- Choose the workspace you created at the beginning of this section and then press Create App. Click the Next button.
- Copy the text from the file present at https://github.com/PacktPublishing/Go-for-DevOps/tree/rev0/chapter/11/chatbot/slack.manifest and paste it onto the screen that is shown as follows as YAML:
Figure 11.5 – App manifest configuration
- The text you see in...