Creating a Salesforce User Identity
When an application such as the Coveo connector accesses your Salesforce content through the API, it must provide credentials where the Security Token associated to the account is appended to the password.
Important: Salesforce may regularly request a password change which will generate a new Security Token at the same time. You must then each time update the user identity with the new password and Security Token.
To create a Salesforce user identity
-
In the Salesforce organization that you want to index:
-
Select or create an account to be used by the Coveo connector and security provider to access your Salesforce content (see Creating a Dedicated Salesforce Crawling Account).
-
Find the Salesforce Security Token for this account (see Getting the Security Token for Your Salesforce Account).
-
-
On the Coveo server, access the Administration Tool (see Opening the Administration Tool).
-
In the Administration Tool, select Configuration > Security.
-
In the navigation panel on the left, select User Identities.
-
In the User Identities page, click Add.
-
In the Modify User Identity page:
-
In the Name box, enter a name for this user identity.
Example: Salesforce Crawling Account
-
In the User box, enter the user name of the selected Salesforce account, typically the email address.
-
In the Password box, enter the password to which you append the Security Token for the selected Salesforce account with no space in between.
Example: When the password is ThisIsMyPassword and the Security Token is DU5PJU3GtHbQaX0zxiWoCMq8Z, then enter ThisIsMyPasswordDU5PJU3GtHbQaX0zxiWoCMq8Z.
-
Click Apply Changes.
-
What's Next?
Your Salesforce source and security provider will need to know the Client_ID and Client_Secret values for your Salesforce organization (see Getting Salesforce Client_ID and Client_Secret Values).