You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/installation.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,13 @@ It's also good to try on the Python REPL.
42
42
43
43
## Access Tokens {#handling-tokens}
44
44
45
+
Making calls to the Slack API often requires a [token](https://docs.slack.dev/authentication/tokens) with associated scopes that grant access to resources.
46
+
47
+
Collecting a token can be done from app settings or with an OAuth installation depending on your app's requirements:
The OAuth token you use to call the Slack API has access to the data on
@@ -84,13 +91,11 @@ Credentials](https://api.slack.com/authentication/best-practices) page within th
84
91
85
92
### Single Workspace Install
86
93
87
-
If you're building an application for a single Slack workspace,
88
-
there's no need to build out the entire OAuth flow.
94
+
If you're building an application for a single Slack workspace, there's no need to build out the entire OAuth flow.
95
+
96
+
After [creating an app](https://api.slack.com/apps?new_app=1) and adding [scopes](http://docs.slack.dev/reference/scopes) on the **OAuth & Permissions** page, go to the **Install App** page and click the **Install to Team** button to authorize the app and generate a token.
89
97
90
-
Once you've setup your features, click on the **Install App to Team**
91
-
button found on the **Install App** page. If you add new permission
92
-
scopes or Slack app features after an app has been installed, you must
93
-
reinstall the app to your workspace for changes to take effect.
98
+
If you add new permission scopes or Slack app features after an app has been installed, you must reinstall the app to your workspace for changes to take effect.
94
99
95
100
## Multiple Workspace Install
96
101
@@ -108,7 +113,7 @@ token once it is granted. The client ID and client secret are available
108
113
from your [app's configuration page](https://api.slack.com/apps). The
109
114
scopes are determined by the functionality of the app — every method
110
115
you wish to access has a corresponding scope and your app will need to
111
-
request that scope in order to be able to access the method. Review the [full list of Slack OAuth scopes](https://api.slack.com/scopes).
116
+
request that scope in order to be able to access the method. Review the [full list of Slack OAuth scopes](http://docs.slack.dev/reference/scopes).
0 commit comments