To use the LiveChat connector, add the
<livechat.init> element in your configuration before carrying out any other LiveChat operations.
Before you start performing various operations with the connector, make sure to import the Livechat certificate to your ESB client keystore.
Follow the below mentioned steps to add valid certificate to access Livechat API over https into the ESB client keystore:
- Extract the certificate from browse by navigating to ' https://api.livechatinc.com ' and click the lock icon on the address bar to view the certificate.
- Place the downloaded certificate into "Livechat_CONNECTOR_HOME/src/test/resources/keystores/products" folder.
- Navigate to "Livechat_CONNECTOR_HOME/src/test/resources/keystores/products/" using command prompt and execute the following command.
This command will import Livechat certificate in to keystore. Give "wso2carbon" as password.To import the certificate give "wso2carbon" as password. Press "Y" to complete certificate import process.
keytool -importcert -file CERT_FILE_NAME -keystore wso2carbon.jks -alias -alias "CERT_NAME"
The LiveChat API uses an access token for authentication. F or more information on authentication, see http://developers.livechatinc.com/rest-api/#authentication.