All docs This doc
Skip to end of metadata
Go to start of metadata

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:

  1. 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.
  2. Place the downloaded certificate into "Livechat_CONNECTOR_HOME/src/test/resources/keystores/products" folder.
  3. Navigate to "Livechat_CONNECTOR_HOME/src/test/resources/keystores/products/" using command prompt and execute the following command.
  4. 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.

init
<livechat.init>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
    <login>{$ctx:login}</login>
	<apiKey>{$ctx:apiKey}</apiKey>
</livechat.init>
Properties  
  • 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.

  • No labels