Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 2.17 KB

01-creating-the-slack-app.md

File metadata and controls

48 lines (27 loc) · 2.17 KB

Create a Slack app

💡 Build useful apps, internal tools, simplified workflows, or brilliant bots for just your team or Slack's millions of users.

  • To get started, create a new Slack App on api.slack.com.
    1. Type in your app name.
    2. Select the workspace you'd like to build your app on. We recommend using a workspace where you won't disrupt real work getting done — you can create one for free. Create-A-Slack-App

Give your app permissions

Scopes give your app permission to do things (for example, post messages) in your development workspace.

  • Navigate to OAuth & Permissions on the sidebar to add scopes to your app

OAuth and Permissions

  • Scroll down to the Bot Token Scopes section and click Add an OAuth Scope.

For now, we'll only use one scope.

  • Add the chat:write scope to grant your app the permission to post messages in channels it's a member of.
  • Add the im:write scope to grant your app the permission to post messages in DMs.

🎉 You should briefly see a success banner.

If you want to change your bot user's name, click on App Home in the left sidebar and modify the display name.

Install the app in your workspace

  • Scroll up to the top of the OAuth & Permissions pages and click the green "Install App to Workspace" button.

Install Slack app to workspace

Next you'll need to authorize the app for the Bot User permissions.

  • Click the "Allow" button.

Authorize Slack app installation

🏁 Finally copy and save your bot token. You'll need this to communicate with Slack's Platform. Copy bot token


Next section: 02 - Building a message.

Back to the Table of contents.