https://github.com/slack-samples/bolt-python-getting-started-app
Getting Started Slack app using ⚡️ Bolt for Python
https://github.com/slack-samples/bolt-python-getting-started-app
Last synced: about 1 year ago
JSON representation
Getting Started Slack app using ⚡️ Bolt for Python
- Host: GitHub
- URL: https://github.com/slack-samples/bolt-python-getting-started-app
- Owner: slack-samples
- License: mit
- Created: 2021-01-08T21:24:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T18:44:14.000Z (over 1 year ago)
- Last Synced: 2025-03-20T23:02:09.538Z (about 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 5
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# Getting Started ⚡️ Bolt for Python
> Slack app example from 📚 [Getting started with Bolt for Python][1]
## Overview
This is a Slack app built with the [Bolt for Python framework][2] that showcases
responding to events and interactive buttons.
## Running locally
### 1. Setup environment variables
```zsh
# Replace with your tokens
export SLACK_BOT_TOKEN=
export SLACK_APP_TOKEN=
```
### 2. Setup your local project
```zsh
# Clone this project onto your machine
git clone https://github.com/slackapi/bolt-python-getting-started-app.git
# Change into this project
cd bolt-python-getting-started-app/
# Setup virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install the dependencies
pip install -r requirements.txt
```
### 3. Start servers
```zsh
python3 app.py
```
## More examples
Looking for more examples of Bolt for Python? Browse to [bolt-python/examples/][5] for a long list of usage, server, and deployment code samples!
## Contributing
### Issues and questions
Found a bug or have a question about this project? We'd love to hear from you!
1. Browse to [slackapi/bolt-python/issues][4]
1. Create a new issue
1. Mention that you're using this example app
See you there and thanks for helping to improve Bolt for everyone!
[1]: https://slack.dev/bolt-python/tutorial/getting-started
[2]: https://slack.dev/bolt-python/
[3]: https://slack.dev/bolt-python/tutorial/getting-started#setting-up-events
[4]: https://github.com/slackapi/bolt-python/issues/new/choose
[5]: https://github.com/slackapi/bolt-python/tree/main/examples