Create a new Bot Integration under services/new/bot.
On the next screen, note the API token.
Set SLACK_API_TOKEN from the Bot integration settings on Slack.
heroku config:add SLACK_API_TOKEN=...
Heroku free tier applications will idle. Use UptimeRobot or similar to prevent your instance from sleeping or pay for a production dyno.