From 04c257636fe131144ce38c4c719520d88ce58d1b Mon Sep 17 00:00:00 2001 From: Martin Klepsch Date: Thu, 1 Feb 2018 13:33:51 +0100 Subject: [PATCH] document how to create slack bot and setup of .env file Signed-off-by: Pedro Pombeiro --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 91516ad..0fa82cc 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,12 @@ After this you can start the bot by running: npm start ``` +## Creating the Slack Bot Integration + +1. Go to https://my.slack.com/services/new/bot +2. Add a bot integration +3. Note the bot token starting with `xoxb-` and put it into `.env` + ## Creating the bot GitHub App This bot is meant to be packaged as a GitHub App. There are two steps to it: creating the app, and installing the app. Creating a GitHub App only needs to be done once and the app can be made public to be reused for any number of repositories and organizations. @@ -71,6 +77,7 @@ See the official [docs for deployment](https://probot.github.io/docs/deployment/ - [x] Check the box for **Project for organization projects** events - Single File - **Read-only** - Path: `.github/github-bot.yml` + 1. 🔍 Verify that you have **ticked 8 boxes**. 1. Generate a private key pass and save it. 1. Installing the bot service: 1. Deploy the bot to the cloud.