Setup - JamesMarcogliese/slack-bot-hive GitHub Wiki
The following steps can be followed for slack app setup:
- Visit https://api.slack.com/apps after signing into slack account in browser.
- Select "Create New App".
- Fill in "App Name" and select work-space.
- Grab the Verification Token from the App Credentials Section and input into the appsettings.json for the project.
- Update Display Information to include an icon and short description.
- Select the "Event Subscriptions" on the left hand side.
- Enabled the "Enable Events" slider and added the endpoint URL to the Request URL slot.
- Under the "Subscribe to Bot Events" heading, add a bot user (add a display name that matches the app name) and subscribe to the "message.im" event.
- Select the "Interactive Components" on the left hand side.
- Enter the action endpoint into the "Request URL" box.
- Select the "Install App" on the left hand side.
- Grab the Bot User OAuth token and input into the appsettings.json for the project.
- Install the app into the workspace.
You will need to provide the .net core app with the url to an elasticearch instance. URL can be placed in the ElasticsearchEndpoint parameter within the appsettings.json file within the project.