Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install bot in multiple teams without adding it to the directory?

Tags:

bots

slack-api

I just finished creating my first slack bot in my dev slack team using the Microsoft bot framework. Now I would like to add the bot to another team for testing. My bot is not going to be for public use, just internal to the company. I tried use the Add to Slack button to add it to the new team but I get an :

OAuth Error: invalid_team_for_non_distributed_app.

Thanks.

like image 545
Eric Avatar asked Aug 05 '17 15:08

Eric


1 Answers

You need to go to settings of your app (https://api.slack.com/apps/ → Your app name → Manage distribution) and activate public distribution of your app.

This will not add your app to public directory, so only teams with link from you can add app to their Slack (ex. by "add to slack" button).

like image 111
jakubste Avatar answered Oct 16 '22 22:10

jakubste