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
SamiraSamira 

Should I new 'Connected App' in each of clients sales force account? or use same clientId and secret for all?

Hello,

I am planning to do use restAPI to Get/Post data to out clients saleforce accounts.

I have created a salesforce developer account for myself: http://naxx.saleforce.com

In my developer account, I added a new 'Connected App' and got a Consumer Key and Secret (cleint_id and client_secret).

Our costumers have multiple salesforce accounts. Ex:

Customer 1: http://firsctCutomerABC.salesforce.com
Custome 2: http://secondCustomerXYZ.salesforce.com

Now my question is, am I supposed to use these two keys(cleint_id and client_secret) that I obtained in my developer salesforce account for all my API calls to our customers salesfoce account?

Or should I create a new 'Connected App' in each of our clients salesforce accounts? and get separate clientId and secret to post data to their salesforce?

so technically should I create new connected App in 1 and new connected App in 2 to get new id/secret?
Customer 1: http://firsctCutomerABC.salesforce.com 
Custome 2: http://secondCustomerXYZ.salesforce.com


Any help will greatly be appriciated!!!!!!