+ Start a Discussion
Phuc Nguyen 18Phuc Nguyen 18 

salesforce to salesforce and scratch org

Hello All,
Is there a way to configure sf to sf to be enabled when you build a scracth org? Like I knolw you can enable communities by adding the config in a json sile so I was wondering if we could do the same for the sf to sf feeature.

Thank you,
P
Best Answer chosen by Phuc Nguyen 18
AbhinavAbhinav (Salesforce Developers) 
I think unfortunately not you have to enable it manually after creation of scratch org and then push you code related with Sf to Sf.

All Answers

PriyaPriya (Salesforce Developers) 
Hi Phuc,


Greetings to you!

Please refer to the below links which might help you further with the above requirement.

http://akashmishra.co.in/salesforce-salesforce-integration-using-rest-api-callouts/

https://www.forcetalks.com/blog/integrating-one-salesforce-org-to-another-salesforce-org-using-rest-api/

https://www.veonconsulting.com/salesforce-rest-api-explained/

https://www.jitendrazaa.com/blog/salesforce/getting-record-from-one-salesforce-organization-to-other/

https://jabeecloud.wordpress.com/2015/10/04/salesforce-integration-across-two-different-organizations-using-rest-api-and-rest-web-service-and-apex-web-service/

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Priya Ranjan
AbhinavAbhinav (Salesforce Developers) 
I think unfortunately not you have to enable it manually after creation of scratch org and then push you code related with Sf to Sf.
This was selected as the best answer