How to configure Altitude components to integrate CTLive
- Configure the Altitude CTLive Service.
- Locate the configuration file of the Altitude CTLive Service, appsettings.json. The default location is C:\Program Files\Altitude\Altitude uCI 8\Altitude Integration Server\CTLiveService.
- Configure the CTLive parameters.
"CTLive": {"Address": "https://ctlive.mycompany.com/livechat","Domain": "MyTenant","SharedSecret": "fa8f31a7577dc6ea24527c6487d2c1f08f12a53b61203c5b2931eb702ffc986d","ContactCenterToken": "ad063da9afe06115f54126cd1a3fb9d5c2829a047121a8ac97f657a335ea139971d434f28191af982940ef909f5d416e","ApiAgent": {"Username": "ctLiveApiAgent","Password": "ctL!ve@PiP@ssw0rd"},"Bot": {"Nickname": "Helpdesk","VerifyToken": "Altitude!123","LogMessages": false}},- Address: Enter the HTTPS address to the FQDN of the machine where CTLive is installed, followed by /livechat. For example, https://ctlive.mycompany.com/livechat.
- Domain: Enter the name of the tenant configured in CTLive.
- SharedSecret: Enter the shared secret configured in CTLive.
- ContactCenterToken: Enter the Contact Center Token configured in CTLive.
- ApiAgent - Username: Enter the username of the API user configured in CTLive.
- ApiAgent - Password: Enter the password of the API user configured in CTLive.
- Bot - Nickname: Enter the nickname of the bot configured in CTLive.
- Bot - VerifyToken: Enter the verify token of the bot configured in CTLive.
- Bot - LogMessages: If set to true, the CTLive Service logs the exchange of messages between the bot and the customer. The default value is false.
- Configure the connection to the Altitude uCI Server.
Tip
Create a user who will only be used for the Altitude CTLive Service. For example, ctlive.
"Instance": {"Address": "localhost:1500","SecureAccess": false,"User": "ctlive","Password": "CtLive!Us3r%P@ssw0rd"}- Address: Enter the IP address or hostname, and port, of the Altitude uCI Server, in the format host:port.
- SecureAccess: Whether the connection to the Altitude uCI Server is secure. The default value is false.
- User: Enter the username of the user to connect to the Altitude uCI Server.
- Password: Enter the password of the user to connect to the Altitude uCI Server.
- Save and close the file.
- Restart the Windows service of the Altitude CTLive Service.
- Configure the URI to the CTLive Service in the Integration Server configuration file.
- Locate the configuration file Web.config. The default location is C:\Program Files\Altitude\Altitude uCI 8\Altitude Integration Server\Web.
- Define the key CTLiveServiceURI as the URI to the Altitude CTLive Service. For HTTPS, enter the FQDN of the machine where the Integration Server is installed, followed by the directory defined in the HTTPS proxy. For example, https://ccserver.mycompany.com/ctLiveService.
<appSettings><add key="CTLiveServiceURI" value="https://ccserver.mycompany.com/ctLiveService" /></appSettings> - Save and close the file.
- Configure Agent Lite.
- Locate the configuration file of Agent Lite, config.js. The default location is C:\Program Files\Altitude\Altitude uCI 8\Altitude Integration Server\Mobile.
- Configure the parameter ctLiveServiceUri as the URI to the Altitude CTLive Service. For HTTPS, enter the FQDN of the machine where the Integration Server is installed, followed by the directory defined in the HTTPS proxy. For example, https://ccserver.mycompany.com/ctLiveService.
window.env = {uAgentWebUri: '/uAgentWeb8',esfUri: 'http://ccserver:20000/rabbitPublisher',redirectOnSSO: false,externalLoginUri: '/loginsso',autoLoadTransferredContactProfileId: true,sessionHandling: 'LastReceivedOnTop',authWindowType: 'PopupWindowInIFrame', // PopupWindowAlways, PopupWindowInIFrame, PopupWindowNeverctLiveServiceUri: 'https://ccserver.mycompany.com/ctLiveService'}; - Save and close the file.
- Configure Interaction History.
- Locate the configuration file of Interaction History, config.js.
- Add the parameter CTLIVE_SERVICE_BASEURI as the HTTPS URL to the Altitude CTLive Service.
window.env = {REACT_APP_INSTANCE_ADDRESS:'localhost:1500',REACT_APP_ASOM_API_BASEURI:'http://10.10.10.1/uAgentWeb8/',CTLIVE_SERVICE_BASEURI:'https://ccserver.mycompany.com/ctLiveService',PUBLIC_URL: 'interactionhistory'}; - Save and close the file.
- Restart the Windows service of Interaction History.