This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Configuring Salesforce Desk Operations
To use the Salesforce Desk connector, add the <salesforcedesk.init> element in your configuration before carrying out any other Salesforce Desk operations.
The Salesforce Desk API supports basic authentication over SSL/TLS as well as OAuth 1.0a authentication. For more information, see http://dev.desk.com/API/using-the-api/#authentication.
<salesforcedesk.init>
<email>{$ctx:email}</email>
<apiUrl>{$ctx:apiUrl}</apiUrl>
<password>{$ctx:password}</password>
<fields>{$ctx:fields}</fields>
</salesforcedesk.init>
Properties
email:The e-mail address of the account.apiUrl:The API URL to access the endpoint.password:The password of the account.fields:The fields to be included in a response limit specified as comma separated field names.
Special Notes
If required add the X.509 certificate from https://{DOMAIN_NAME}.desk.com to WSO2 ESB's client-truststore.jks in the <ESB_HOME>/repository/resources/security directory.
Note
Be sure to add the following resources to the WSO2 ESB registry:
- /_system/governance/connectors/ SalesforceDesk/apiUrl
- /_system/governance/connectors/SalesforceDesk/email
- /_system/governance/connectors/SalesforceDesk/password
Now that you have connected to Salesforce Desk, use the information in the following topics to perform various operations with the connector.