You need to sign in to do that
Don't have an account?
![Aakar Mehra Aakar Mehra](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Connect two orgs and retrieve one org data to another.
I want to connect two orgs using REST API and retrieve one org data and save it in a object in other org.
I need to save data in a certain object of other org.
Please Help
I need to save data in a certain object of other org.
Please Help
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,
Khan Anas
Option 1 : using the salesforce to salesforce
https://help.salesforce.com/articleView?id=business_network_managing_leads.htm&r=https:%2F%2Fwww.google.com%2F&type=5
Option 2 : Using the Rest api
http://www.saaspie.com/questions/how-to-integrate-from-one-salesforce-org-to-another-salesforce-org-using-rest-api/
https://www.forcetalks.com/salesforce-topic/how-to-integrate-one-sfdc-org-to-another-sfdc-using-rest-api/
https://www.veonconsulting.com/salesforce-rest-api-explained/
Option 3 : Using Salesforce Connect Custom Adapter ( External Objects )
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_connector_custom_adapter.htm
https://trailhead.salesforce.com/en/content/learn/projects/quickstart-lightning-connect/quickstart-lightning-connect2
https://trailhead.salesforce.com/en/content/learn/modules/lightning_connect/lightning_connect_setup
Steps-:
1)Go to setup in source org->search->App Manager in quick find->Create Connected App.
2)After this Develop Apex RestService in the Same Source Org.
Sample code: In this, I am Fetching Account. 3)Now, We use the above Apex Rest Service in Target Salesforce Org.
Sample code-:In this I am inserting an account that is coming from source org.
You can take references from this link.
http://amulhai.blogspot.com/2015/11/salesforce-to-salesforce-integration.html
If you find your Solution then mark this as the best answer.
Thank you!
Regards
Suraj Tripathi