function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
raj singh 26raj singh 26 

Maintaining single integration user versus Multiple integration users

Hi All,

Greetings!

We have integrated Salesforce with ServiceNow using REST APIs, where we created a dedicated integration user.
Now we need to integrate Salesforce with HR Connect, so can I use creds of same integration user or go with a new integration user?

Appreciate your help in this regards,

Thanks!
VinayVinay (Salesforce Developers) 
Hi Raj,

Preferable would be having one Integration user in salesforce.

However, It completely depends the business use case and existing integration which doesn't perform same DML operation same record (eg., when 2 integrations try to update same account records). If they do not conflict go can go ahead with single user.

Also if some other process using this integration user account attempts to connect to salesforce with wrong password then it locks the user account for few minutes, which causes all the job or integrations dependent on this user to fail.

https://help.salesforce.com/articleView?id=000331470&type=1&mode=1

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
SwethaSwetha (Salesforce Developers) 
HI Raj,

You can use the same integration user for multiple integrations, as long as all the needed permission for any or all the integrations are granted to that user.

A possible problem that may occur if you are sharing the same integration user, some integrations run through automated processes and at times need to log out automatically, this will interrupt other integrations using the same integration user.

This is not a recommended practice. 
 
Hope this helps you. Please mark this answer as best so that others facing the
same issue will find this information useful.
 
Thank you