Registering your app and obtaining tokens

Certain unique tokens are required in order to successfully authenticate with Slack's OAuth servers. This is necessary so that Slack can determine whether we are who we say we are and whether our app or bot is actually integrated with the team we are attempting to get access to.

We start by navigating to the Slack new app registration page at https://api.slack.com/applications/new. Fill out the form by picking a name for your bot, the team it originated from, descriptions of your bot, links to help pages, and a redirect URI:

Registering your app and obtaining tokens

Be as descriptive as you can when filling out this form

After saving your settings, ...

Get Building Slack Bots now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.