Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The S4SNow web service requires an API key to be sent with each request. The key in the request is checked and if valid the call to the web service method is allowed otherwise it is blocked. The API key needs to be configured in both Sitecore and Salesforce.

Configure Sitecore

The API key for the service is stored in the

...

S4SNow configuration file 

...

S4SNow.config. Generate a new GUID to be the API key and set the value of the 

...

S4SNow.ApiKey setting to the generated GUID.


Code Block
languagexml
<setting name="S4SNow.ApiKey" value="98CF5A8F-SD21-4613-880B-4566FDF9D823" />

Configure Salesforce

The API key stored in the configuration is Sitecore needs to be entered into the S4SNow Salesforce package custom settings.

  • Setup » Build » Develop » Custom Settings (Salesforce Classic)
  • Setup » Platform Tools » Custom Code » Custom Settings (Lightning)
  • Click Manage in front of S4SNow Settings

...