How to Integrate Multiple Salesforce Organization in One account

Salesforce, a CRM solution company was founded in 1999. The company was publicly available in 2004 with CRM-based products and services. It is a platform that not only provides software solutions but also offers instances on a cloud platform to deploy applications.

Salesforce solutions are designed to fulfil the needs of businesses such as analytics, automation, community management, digital commerce etc. Its cloud solutions as well as customization platform for different entities are setting it apart from other CRM solutions in the market.

Salesforce Instance vs Salesforce Organization

Before we get into the steps of integration, let us understand some basic terminology that describes Salesforce Architecture.

As we mentioned above, Salesforce provides a cloud platform for deploying the CRM applications of the companies. A Salesforce instance is referred to as a physical server, it’s location and the space to host the applications for a company. From the instance name, one can make out in which datacenter the server is located. 

Whereas, a Salesforce Org  is referred to as an instance specific to the company identity and configurations. For example, in the Salesforce instance, company XYZ has deployed its apps with its metadata and configurations is called Salesforce org. If the company XYZ has 2 orgs, the URL of each will be something like this:

Org 1Org 2
xyz34-my.salesforce.com/home/home.jspxyz36-my.salesforce.com/home/home.jsp

Here is an illustration of the Salesforce instance and Salesforce orgs.

Y4VEXHZsXzVoIs5YeSP DWyIVrAQpbswxYosJlxfPJMwFYgD2eygS TtKUBDFPB2EbjicIxwmH53FBGrIjk KTWJP4UTXnrXsdwPGFSnfYNZEppR gOCu18siMvkSAfof5HXDVg

Salesforce organizations belonging to an instance point to the same database. In the above illustration, SA1 and SA2 instances are used as production environments whereas the instance on the right is either DEV or QA environment. 

There are multiple ways by which you can integrate orgs to one account. 

Way 1 – You can integrate data of Org1 to Org2

M d865V yiqcKvyZ5fZIq 92qhaukymN9sJMNK0nsI uIgwlp3B5lGO6uNSFQBP2dpERKpcvm5O3Ncb2HTcpPq9R97Mz7lLtZDsg10gzzI7vzWNWuZ0HEwpRUfbkB9KpTBnot8A

The orgs are nothing but salesforce instances designated by you. Orgs have multiple objects and their respective fields. You can customize them using your organisation URL.

Below are the instructions on how to integrate 2 orgs in one account. (here, we will make both orgs to access the same data by establishing the connection.)

  1. Access Org 1. (This is the org from which the data will be accessed in the destination org.)
X7ds4km jIXKsXKqiE9mej F49lzU9esiccDw2Xeyi ktghGTP7VHFHW7LoIFp5zthJrGZpTBp96W6vxU6gtcU80hSS8L0PvH0JvClfWCtAEnZn fhl6QoQlrU26 DNJNIN34es
  1. From the top left search bar, enter the text Salesforce to Salesforce settings. The setup screen is shown as below.
gJMfgyPUenCa5uYj WTH QTUGT3cd7XSstG04rAxKK1vak1XDHujCsmyeC VF0Nmt0fRznV2WyytD hegwX4AmHunn86B4gR8IJGpSI pJ4OW7RqpKERaewjMgTbVlwqQfcZoo
  1. Enable S2S (salesforce to salesforce) by selecting Enable under the Salesforce to Salesforce Settings section.
  2. Create a connection template. To do so, do the following.
    • From the tab bar on the top, click +.
    • A search box appears in which you will enter the text “connection”.
XFFGMZl2Mr3slNOhfeL2UHNut9SZ 3o8QgpmXH63r9wgMY7R0GDrWX4JaWWVTuzZSSEcEMsbPACCADW5p4kLrhkje7biwsPD7aOvXt UDYdsaKmXtAlD19poeP7U1KYzRL y4 I
  1. In the Connections page, Connection and Templates are available.
pH3akJFYdXquABomknnmnGMsiQuAEBLW10Lz75itYBR1jkIldQLS enGuxS4mMFAccY hbJkvJ7SF8hJpMJX5iXHjIpD
  1. Click Templates.
WbFshZLcy6MwNypQ49Ch7gsSxVk649hPFWzN4LgAAO9 AQUPfRQzbWDQ5ODu6 Srtoff4UV9TXcoREs2wzoyW 72Ax0UehbjjxOVlZoNylGO1TFv68Ey9D1fty gYji au lmIs
  1. Click New. A new template creation page appears.
1rTs9jH2fb3q7mEfAKoNmxlX9aBhvTtySvTq 8bdkd4XbACxkFl14gio43wcBkLgIXmpBl6Kw zERRiitAnm3KVPA7WiRNfqTw3Col4EmhDvTzYb5 EfBQ y 4QjBZAefjBHdtY
  1. Enter the details and select Active to make the template operational. The name can be given based on the data or objects that you want to integrate. In this example – Sync Leads.
  2. You can add/remove template objects from the list. Click Publish/Unpublish under the Published Objects section.
y 69vBTxrP0SJWx9Udxlqk1plKVHmclVg3klUJbwcYolULvirz0Yw05WC4ds4OAipmNroycB6VwQScB4u YR3czCFEIwE1 oT MYf LW7PYzbSz9vky7QTkGeEHPDDbKJlqS7o
  1. Select the objects you want to publish with the template created by you.
jjIBhqds3rViAcId 01vllLN0Ld1GzOfErLhGHoEjbw3CmjXME SyJr e25U5g6try0SkUjF6f8YbGfjWMlE5ZZv7qSfnL l Ld0bfzzJKC7qm kY9J7LKJUhCbT1fIlY PRTU
  1. Save changes.
  2. Choose fields to be added in the template. 
  3. Edit the template to map fields.
HyBNIe46KimuaxcY5E83P0ZX8mDd3zzUEa1Q9Bn24gBttivMyxNb6Zumb5jA7 B9
  1. Choose the fields to be added and un-select the fields to be removed.
  1. Pick the fields and save your changes.
  2. Start to create a connection after template creation. To do so, follow the steps below.
    • Click New for creating a new connection.
fzCiqwElgrf2 s22nzBOHNkskcuTU7wpM hO UVCHECupRvQg Eb MOFSRaS591Q6JbeSwYxS2l3z9SfnP WkOXJXf qMvyrai2Tsj93g3 hi7k7nM7HZhNllNEf7EnGoXvsZr0
  1. Choose the Org2 contact from Connect to.
  2. Enter email and other details.
  3. Click Save and Send Invite. The contact will be notified via email.
  4. Check the connection details.
ANirfrdbaTu2LFPT6Abetq0GJ0 PSgsO0JCH3SJwK68b2DQjVa4B0UWOZj9KPRedy2PkLFYK9TTcSW3u gMb2x2I5T1UR5s1d yRI1jqG4GF4Q3uwxI D42LEBtCrnvE 1AKy6s
  1. Now, click Setup from the top right corner. And go to the Lead object setup. (Search by entering keyword – Lead from the search bar on the left.)
  2. Click Search Layout. You will see the list of Lead Search Layouts.
  3. Click the layout and you will see the list of actions.
  1. Select the checkbox – Forward to Connections/Forward. Save the changes.
  2. Create a new lead record with appropriate details and save the lead.
y72VuwNBr44 hO9QJXMMy52 gQRz6OOL50caU67V10 DI9TuPrRGF Gdh9aWPeBwWdo8dQqR6HrQ7 7QaUbae6B7lev0KQs 0WgoTHw0DRasPN rck2YC48sNyXhBiLcn dF lM
  1. Go to a list of leads. You will see the lead you have created.
  2. Select the check box next to the lead and click the Forward Connection/Forward button.
T g8 YpopPxaMQVywCPxLCxRO7lJr9kUQdJWZ5BhhIUDWc36W FK7YSR EL0QciIMlgUeaSExN6regHZRtqVmsRfHfTFN sZGcvDqJHR9AGgv8IEAcCPW ItYJbTWOfzGH38 tk
  1. From the Available Connections list box, select the connection to move to the Selection Connections box.
z Cm8nL0bvEGwEeFWPSHTa4plr0iOovEm0 XgslTOnMwL45HfIerXjcvITk96U IjXMQSdHThYPGm18gKf3RfJqjD8dZnSnHOaKFOJ9Mc4S6Hvf7tXBXc5AjA6TRZnd8Z9u31dU
  1. Save the changes.
  1. Access Org 2. (This is the destination org to which the lead data will be accessed.)
    • Go to the leads and see the list of leads. You will see the lead that we have forwarded from the Org1.
  2. Manually doing this task is time consuming. You can create a trigger to automate the tasks and get the data and objects to the destination org.

Way 2 – You can integrate data between Org1 and Org2 using Informatica

Informatica Cloud is used to integrate data or objects between 2 Salesforce Organizations. 

  1. Access the Informatica Cloud portal.
  2. Download the secure agent as shown below. If you already have it installed, ignore this step.
  1. Once installed successfully, run it as an admin.
  1. You will see the agent running as shown below.
  1. Go back to the Informatica Cloud home page. Click Connections from Configure.
osbx vjzWeEE49qBoEuyTFRjsEf qrTE61Ffn9 lSqcVj7pKswHTUcFGXiCDJ6dn9f9OPGk2bYxwmPrvQSp6D13 MZBxAFPzsLXuGBbjgWB1pi2O2Bvkbqd PvOaml5 Yh R9Jc
  1. Create two connections. Source and Destination. Make sure you have a security token, username and password of both salesforce organizations.
  2. Once done, you can test the newly created connection.
coevmocRZ21qAXr2AWycrQTgV R5hu73 Nmme3a5810PTh5 wboXdpDWuNp1yaSCIsFXnebjN 3R2yWGG49Oc8aduScAgDj59YvGLHjVcvoJhvE YLGFttUuyFQgOgHgU1 U7JM
  1. From the Task Wizards, create a task by following onscreen instructions.
UfSUIgx9k6kmeahOs7ez U5ikQAJUHPk0vjo3YPkY7Izr0BvmiRUXIGhQh5OIXOLq2i9cXOrGRUJS6GRrSo2
  1. Select connection from Source.
  2. Select connection from Target.
  3. Select data or objects to be integrated.
  4. Do field mapping.
  5. Click Schedule. Save and close without scheduling.
  6. The new task is added in Data Synchronization Tasks.
  7. If you want to start the integration process now, click Run Now.
jctPigiBenW6UFtwqSVYDwDqrEd vOQyZtva1Bif26aBcbfgsCN2cdG6CwLONwwPkxqG3u8BfrUEqA4LJGqcd0zjp5V8f5J7bkGUcLBOTnY8xDrEOcd02DL H9k6m2hPyBtN6UI
  1. Access your destination org and validate the data is successfully integrated there.

Integration flexibility with Salesforce

Salesforce allows integration for not only its own components but also third-party apps within the organization. The only thing is third-party API should be available with details and you can successfully integrate the data or objects or entities of Salesforce. 

You may also like: