• #20432
    Salesforce | Rajesh Rajesh #47

    How to do Salesforce to Salesforce integration using Rest API?

    Hi Guys, How to do Salesforce to Salesforce integration using Rest API?

    Tagged: , ,

    #20437

    Hello Rajesh,

    One of the ways to Integrate two Salesforce Instances will be using oauth for session management and using REST API

    Lets Assume you have SalesforceA as Source ORG and SalesforceB as Destination ORG .Now lets assume flow of data is from SalesforceA to SalesforceB Instance

    1) For oauth 2.0 in Destination org(SalesforceB) create a Connected App .To help you configure the Connected App in Destination below screenshot should assist.Callback Url may not be of any significant as we are using User-Name Password flow model.You will obtain client secret, consumer key in this process and one should store in Source org custom object or custom setting

    2) In your source org create a Remote site settings with url as the URL of the Destination Instance

    3) Create a Integration User in the Destination org whose credentials you will use to call API from Salesforce Source ORG

    4) Use the username, password and security token(Also i would prefer setting password never expires here for integration User) and also client secret and consumer key in a custom object or custom setting (Protected) in Source org.

    #20446
     Ap Mishra #51

    Hi Friends,

    Please find the complete solution for this in the doc I created.

    This contains the complete flow to achieve the requirement, so hope this helps you.

    Salesforce to Salesforce Integration

    #20447
    Salesforce | Ashley Ashley #149

    @ap-mishra Thanks for the document on “Salesforce to Salesforce Integration“, very helpful. As mentioned in the doc, can you plan to write the blog on forcetalks and provide a link here so it will be easier for other community members to go through the information.

    #20451
     Ap Mishra #51

    Hi Ashley,

    Please refer the blog here – Salesforce to Salesforce Integration using Rest API Callouts

    Thanks,
    Akash Mishra

    Sr. Salesforce Dev. (Dazeworks Inc.)

Viewing 5 posts - 1 through 5 (of 5 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Property of Forcetalks.com
Copyright 2017 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?