How can I share my slack app between my workspaces?

拥有回忆 提交于 2019-12-29 08:45:10

问题


I've just created an app (slash command) and install it in one of my workspaces. But now I want to add the same app to another one. Is it possible without distribution to App Directory?


回答1:


If you want to add you Slack app to another workspace, you can do so without going through the process of placing it on the App directory.

All you need to do is

  1. add the ability to install your app to an workspace using OAuth 2.0.
  2. enable public distribution

So instead of clicking "Install app to this workspace", which works great for private Slack app, which live in one workspace only, you need a script than can be called from a web browser to run the Oauth installation routine. This is usually done by adding a Slack button to your website.

You also need to enable "public distribution" for your app. Note, that is not the same as putting them on the App Directory, which requires submitting your app and undergoing a review by the Slack team.




回答2:


Found the answer, in the small grey caption in the app creation form

Your app belongs to this workspace—leaving this workspace will remove your ability to manage this app. Unfortunately, this can’t be changed later.



来源:https://stackoverflow.com/questions/48972465/how-can-i-share-my-slack-app-between-my-workspaces

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!