Get connection string values from Salesforce
Before you can configure the connection string, you must collect the following values from Salesforce:
-
User ID - the ID that Sitecore uses to call the Salesforce API. This user ID does not have to have administrator rights, but it must have sufficient rights to perform the activities you expect to be able to from Sitecore. For example:
-
To have Salesforce contacts created in Sitecore, the user must have read-access on contacts and campaigns.
-
To push contact data from Sitecore into Salesforce, the user must have write-access on contacts.
-
-
Password - the password for the Salesforce user that Sitecore uses to call the Salesforce API.
NoteThe password must not contain the semicolon ( ; ) character.
Get the security token value
The security token value comes from the Salesforce user who used the connected app.
To get the security token:
-
In Salesforce, log in with the user ID you plan to use in the connection string.
-
In the top menu, click the user name.
-
Click My Settings.
-
In the left menu, click Personal, Reset My Security Token.
-
Read the warning on the screen carefully and then click Reset Security Token.
Salesforce informs you that it has mailed the new security token to you.
-
Check your inbox to find the email message with the new security token value.
Get the client key and secret key values
The client key and secret key values come from the Salesforce connected app.
To get these values:
-
In Salesforce, in the left menu, in the Build section, expand Create and the click Apps.
-
In the Connected Apps section, click the name of the connected app you created.
-
In the API (Enable OAuth Settings) section, copy the values for the Consumer Key and Consumer Secret.
NoteIn the connection string, the Consumer Key value is called the client ID, and the Consumer Secret value is called the secret key.



