Steps
1
Create the app
Go to api.slack.com/apps and click Create New App → From scratch.Pick a name (for example, “Voltai”) and choose your workspace.
2
Set the redirect URL
In the left sidebar, open OAuth & Permissions.Under Redirect URLs, add the redirect URI and click Save URLs.
3
Add user token scopes
Under User Token Scopes — not Bot Token Scopes — add:
search:readchannels:historyfiles:read
4
Install to the workspace
Click Install to Workspace at the top of the same page and approve the prompt.
5
Copy the credentials
In the left sidebar, open Basic Information → App Credentials.
Send us
Things to know
- Search only covers channels the connecting user is a member of. Public channels they have not joined are invisible to Slack’s search API, so joining the relevant channels is the fix if results look thin.
- Private channels and DMs are only reachable if that user is in them, which is usually what you want.