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

Salesforec REST API



Can anybody let me know how to get the clientId or 'Consumer Key' AND clientSecret or 'Consumer Secret' to access Salesforec REST API from my web based application used for commercial purpose? Do I need to buy any license from Salesforce for that? 


Any information will be of great help


Thanks in advance


Hi, You just need to create the connected Apps on your Salesforce ORG and you will be able to get the details you are looking for to integrate SF with your web app :



I did the same thing and was able to get the Consumer code and secret as well.

Everything works fine only for the SF login that is used to create the Connected Apps.


For anyother SF login, I am getting 403 error while query for the data. Authentication seems successful but I cannot proceed any further. 


Any information would be of great help.