Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 991 Bytes

File metadata and controls

25 lines (19 loc) · 991 Bytes

Running your app

Set App Credentials

Before you can run your app you need to put your bot token into the environment.

Note: This is the same token you copied at the end of Step 1. Copy the Bot token

  • Add this token to your environment variables:
$ export SLACK_BOT_TOKEN='xoxb-XXXXXXXXXXXX-xxxxxxxxxxxx-XXXXXXXXXXXXXXXXXXXXXXXX'
  • 🏁Run your app
$ python3 app.py
-> The Websocket connection has been opened.

🎉 That's it. Congradulations! You've just built a Slack app. 🤖

Onboarding

Previous section: - 03 - Responding to Slack events.

Back to the Table of contents.