Connected Field Service > Configuring Connected Field Service > Setting Up ServiceMax > Configuring the ServiceMax Connector
  
Configuring the ServiceMax Connector
The following procedure is required if you wish to connect ThingWorx to ServiceMax.
Prerequisites:
A Salesforce ID intended to be used for system integration between ThingWorx and ServiceMax.
A Salesforce Connected App in your Salesforce org. Work with your Global Services or ServiceMax contact to determine the proper Salesforce Connected App to use for this integration and your specific Salesforce configuration. You will need both the “Consumer Key” and “Consumer Secret” from the Salesforce Connected App.
1. Gather the following information from Salesforce:
Information
Notes
userId
Example: johnd@acme.com
Password
The password for this system account
OAuth endpoint
There are two depending on the type of your org:
Consumer Key
Consumer Secret
svmxapiVersion
1.0 — Version 1 of the ServiceMax lot Events
2.0 — Version 2 of the ServiceMax lot Events
2. Using Thingworx Composer find and edit the configuration on PTC.CSLM.Connector.ServiceMaxConnector.
3. Enter the values from step 1 into the equivalent configuration fields and save.
ServiceMax Connector
Salesforce
Example
username
User Id
thingworx@acme.com
password
Password
mypoorpassword12345
authenticationURL
OAuth endpoint
https://login.salesforce.com/services/oauth2/token
consumerKey
Consumer Key
3MVG9FS3IyroMOh4wFW1xUosABhe3SJ
consumerSecret
ConsumerSecret
8122336483569005441
4. To validate your ServiceMax Connector configuration, in Thingworx Composer view the Entity PTC.CSLM.Connector.SalesforceConnector, view its Services, and note the “TestConnection” service method.
5. Click the Test button for the TestConnection service method.
6. Click Execute Service.
7. If properly configured, you should receive a result of “OK”.
If not, review the error message from Salesforce and double-check your configuration settings.