I want to implement integrating 2 salesforce orgs.I followed below Q&A from stackexchange.I have written apex class also.I am not sure how to call this rest apex class.Do i need to add any custom button for this.

How can i integrate one SFDC org to another SFDC using Rest Api

  • 1
    what is your requirement ? Yes you can call from custom button
    – Ratan Paul
    Commented Dec 1, 2015 at 11:54
  • how often should the integration occur? on a scheduled basis? as each record in Org 1 changes values? Can your Apex REST class handle bulk updates or only single SObjects?
    – cropredy
    Commented Dec 2, 2015 at 18:09

2 Answers 2


Few months back, I've written in detail(step by step) to connect 2 salesforce orgs using Rest API


Please go through it and revert in case of any questions.


You can call that class through trigger with specific values.

If you need more clarity on this tell me what purpose you implemented the class and post this class here.



  • 1
    Sandy -- welcome to SFSE; etiquette here is not ask OP to contact you directly via email as that doesn't add value to the community and has the appearance of soliciting consulting work.
    – cropredy
    Commented Dec 2, 2015 at 18:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .