Application that allows you to create a bridge between two Slack teams, allowing them to be communicate in a common channel.
Requirements:
- Python 3.6
- Latest version of pip for Python 3.6
- virtualenv
- Heroku CLI
- Redis
- You can use the one from your Heroku instance, if you know what you're looking for
- Checkout the repository
- Make a pyton virtual environment using
virtualenv venv
- Install all the packages into the environment using
pip install -r requirements.txt
- Launch the server using
heroku local
orheroku local -f Profile.windows
Required Scopes
- channels:history
- channels:read
- chat:write:bot
- groups:history
- groups:read
- im:history
- mpim:history
- team:read
- users.profile:read
- users:read
- users:read.email
- reactions:write
- emoji:read
Once the App has entry has been made, deploy the application onto Heroku and enter in the values from the App configuration menu from before.
After the server is all provisioned, head back over to the App configuration menu. Select "Manage Distribution" and click the "Add to Slack" on the right side. Do this for ever team you want the app to be installed on.
When are prompted to authorize the app on your team, one of the options you'll be given is for an incomming webhook. This webhook will post the content from the other teams into whichever channel you select, so choose wisely where you want that to go. It's generally a good idea to make a new public channel and select that channel instead of #random or #general. After that is all completed, head over to slack and invite the new bot over to that channel that you selected with the webhook.