https://github.com/srajiang/slack-subscribe
Sample application using Bolt JS and demonstrating a simple Subscribe in Slack use case
https://github.com/srajiang/slack-subscribe
bot slack slack-bot
Last synced: about 1 month ago
JSON representation
Sample application using Bolt JS and demonstrating a simple Subscribe in Slack use case
- Host: GitHub
- URL: https://github.com/srajiang/slack-subscribe
- Owner: srajiang
- Created: 2022-01-24T20:55:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-17T01:39:48.000Z (over 4 years ago)
- Last Synced: 2025-10-20T06:47:01.000Z (8 months ago)
- Topics: bot, slack, slack-bot
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample App: Subscribe in slack
This sample application is built with Bolt JS framework and does a simple demonstration of using the Subscribe in Slack functionality. For a more full-feature sample app, refer to:
https://github.com/slack-samples/subscribe-in-slack-and-metadata
#### Setup:
_prepare your development slack workspace_
1. (pre-GA) Ensure that workspace is flagged to test this feature (reach out to me).
_prepare your application_
1. For ease-of-development we recommend using ngrok: https://ngrok.com/
2. Start an ngrok tunnel listening on port 3000, `ngrok http 3000`
3. Update manifest.yml replacing `` with your domain (provided by ngrok)
4. Create a new Slack app from manifest
5. Add the following to your environment
```
export=SLACK_SIGNING_SECRET=
export=SLACK_CLIENT_SECRET=
export=SLACK_CLIENT_ID=
export=SLACK_BOT_TOKEN=
export=DOMAIN_VERIFICATION=
```
6. Start the application, `npm start`