15

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.

jessegavin
  • 74,067
  • 28
  • 136
  • 164
Eric
  • 151
  • 1
  • 4

1 Answers1

26

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).

jakubste
  • 402
  • 3
  • 9
  • After making it public, after Authorization bot is giving different problem - The Bot Directory is no longer accepting new submissions. Add your bot to the Bing channel so users will not only be able to find it, but chat with it too – Sand T Oct 25 '18 at 09:53