Skip to content

Server configuration and Chatbot config requirements

ear-dev edited this page May 21, 2021 · 3 revisions

Versioner install

The versioner takes care of most of the required server configuration versioner: https://git.viasat.com/vega/kluster/blob/master/projects/veranda/rest-api/config_controller.py#L89 config file: https://git.viasat.com/vega/kluster/blob/master/projects/veranda/rest-api/config.json from directory: kluster/projects/veranda

./kluster mongodb -name livechat -namespace default --settings -u shubh -p <PWD> -2fa <TOKEN>

Manual steps post install

Dialogflow App:

projectID, email, private key, environment=preprod (stored in LastPass)

Salesforce App:

SF chat endpoint, deploymentID, orgId, buttonID (stored in LastPass)

Personal Access Token

generate and communicate to the chatbot team for fulfillment to use

Widget flow when myViasat page is opened.

This is technically what happens when a new chat is being instantiated. Just wanted to capture this here for debugging.

  • widget loads -> fetch widget config (settings, theme) -> new visitor registered -> new chat created -> agent assigned -> if dialogflow welcome event is sent
  • new chat created should only happen when the user opens the widget. We have a livechat trigger configured to control that.
Clone this wiki locally