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
Deepak Singh 116Deepak Singh 116 

How to connect one salesforce sandbox to another salesforce sandbox using connected app

Hi,
I have to connect two salesforce sandbox using connected app.
I have go through several articles which shows i need to selected acess and manage data  (api) and refersh token but acess and manage data  (api) is not available as scope in sandbox intsead manage user data via apis (api) is there but its through unauthorized 401 error.
 
AbhinavAbhinav (Salesforce Developers) 
Hi Deepak,

Have you checked this blog?

https://www.forcetalks.com/blog/salesforce-to-salesforce-integration-using-rest-api/

Thanks!
Deepak Singh 116Deepak Singh 116
Hi Sai Praveen, I need to create a account when any account is created in one org and then update the same account from second org. Sent from Mail for Windows
Deepak Singh 116Deepak Singh 116
Yes, I get the error Unauthorized..
AbhinavAbhinav (Salesforce Developers) 
okay... any reason for not using salesforce 2 salesforce ?I think that will also meet your use case.
Deepak Singh 116Deepak Singh 116
I think Its for sharing the data between two orgs not for DML. Sent from Mail for Windows