Configure a Slack bot for Spidermon¶
What are bots?¶
A bot is a type of Slack App designed to interact with users via conversation.
- Create a Slack bot.
- Once your bot is created, you can find Bot User OAuth Access Token in its settings. This Bot User OAuth Access Token is what we use for
- Lastly, add your Slack credentials to your Scrapy project’s settings.
# settings.py SPIDERMON_SLACK_SENDER_TOKEN = 'YOUR_BOT_USER_OAUTH_ACCESS_TOKEN' SPIDERMON_SLACK_SENDER_NAME = 'YOUR_BOT_USERNAME' SPIDERMON_SLACK_RECIPIENTS = ['@yourself', '#yourprojectchannel']