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.
The LiveChat API uses an access token for authentication. F or more information on authentication, see http://developers.livechatinc.com/rest-api/#authentication.
apiUrl:The URL of the API.
login:The login name for the API.
apiKey:The API key.
Now that you have connected to LiveChat, use the information in the following topics to perform various operations with the connector.