Connecting MI Chatbot to Metric Insights
This article details how to finish the MI Chatbot configuration by establishing connectivity between MI Chatbot and a Metric Insights server.
PREREQUISITES:
1. Configure Chatbot
Access Admin > Distribution > Slack Integration > Chatbot tab
-
Base url of NLU webservice (can include port):
http://nlu:5000
- Display debug messages: select whether to show debug messages in the chat where the Chatbot is installed
-
Enable silent search:
- "true": if users sends any message in the channel where the Chatbot is installed, the user will receive a message only visible to them with the search results based on user input.
- "false": the bot will not send anything to users unless explicitly invoked via @ messages.
-
Part of URL which specified Bot namespace: set to
/chatbot
unless corresponding changes were made in the apache configuration file - Search in tags: enables the search in tile tags
- Send broadcast messages to channels: enables notification messages that are sent on restarts or sync fails for all channels where the bot is participating
-
Slack bot user token: Bot OAuth Access Token
- See details in Obtain Slack App Credentials
- Slack platform is used: to enable Slack Integration, set to "True"
-
Slack Signing Secret: secret used to verify Slack requests
- See details in Obtain Slack App Credentials
-
Slack socket token: App-Level Token
- See details in Generate App-Level Tokens
-
Slack Web API token: OAuth Access Token
- See details in Obtain Slack App Credentials
- URL where the Bot is installed: URL of the server where the bot is installed
-
Verify ssl check for mi requests: select whether to forbid requests from bot to servers without valid SSL certificate or via unprotected HTTP protocol
- "true": Such requests are forbidden
- "false": Such requests are allowed
- [Save]
- [Sync Chatbot]