> For the complete documentation index, see [llms.txt](https://knowledgebase.autorabit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.autorabit.com/product-guides/arm/arm-features/deployment/connecting-and-syncing-salesforce-orgs.md).

# Connecting and Syncing Salesforce Orgs

The **Deployment** screen is best viewed when the zoom setting is set to **80%** on your Chrome/Firefox browser.

### About Salesforce org synchronization <a href="#about-salesforce-org-synchronization" id="about-salesforce-org-synchronization"></a>

Salesforce Org Synchronisation allows teams to compare and align metadata between a source Salesforce org and a target Salesforce org to maintain consistency across environments. It identifies metadata differences and enables users to reconcile them efficiently.

Example: If a hotfix is implemented directly in Production after a deployment, discrepancies may arise between Production and Sandbox. Org Synchronisation helps detect these differences and allows teams to update the source org accordingly, ensuring both environments remain aligned.

This option is useful when:

* Changes are made directly in Production.
* Multiple teams work across parallel environments.
* There is a need to prevent configuration drift.
* Deployments fail due to unexpected metadata differences.
* Preparing environments before a major release.

### How can I connect and sync metadata between two Salesforce orgs? <a href="#how-can-i-connect-and-sync-metadata-between-two-salesforce-orgs" id="how-can-i-connect-and-sync-metadata-between-two-salesforce-orgs"></a>

To perform org synchronization, follow the below steps:

1. Log in to your ARM account.
2. Click on the **`Deployment`** tile on the left side of the screen.
3. Go to the **`Org Synchronization History`** tab.
4. Click on the **`Get Org Differences`** call-to-action button.

<figure><img src="/files/eW9AS0BXQPJ6i1wZpH9v" alt=""><figcaption></figcaption></figure>

5. In the **`Org Differences`** dialog box, you will need to:

   * Give the process a **`Name`**.
   * Select your **`Source Org`** and **`Destination Org`**.
   * Select the **`Exclude baseline Managed Package changes`** checkbox if you do not wish to include baseline Managed Package changes during org sync.
   * Select the **`Generate Member Differences`** checkbox to view the metadata member's differences between two Salesforce orgs based on file/data level comparison.
   * Specify the **`Batch size for Profile Components`** and the **`Batch size for other Components`** to retrieve records. So, the default size for the profile is **500**, and for other components is **2000**. You can modify it as per your requirement. The bulk retrieve option helps run large jobs that exceed normal processing limits – you can deploy up to **10000 files** at once or a maximum size of **14Mb**. Using batch size, you can process records in batches to stay within platform limits. If you have a lot of records, processing records through batches is the best option.

   To go to the next screen, click the **`Get Differences`** button. The next screen may take some time, depending on the number of components in your org.

<figure><img src="/files/nB3NVBWLLGYXFlKkwEv8" alt="" width="436"><figcaption></figcaption></figure>

6. On the next screen, you can:

   * view the metadata list included in both source and target org
   * add or delete metadata components to/from the target org
   * view the metadata member's difference report (if any)

   <figure><img src="/files/pkcFKaxZ3xlI280o3FoX" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/Vr6acRLpgNKhVlP0J7TT" alt=""><figcaption></figcaption></figure>
7. Once done with your selection, click on **`Synchronize Orgs`**.
8. On the next screen, check the **`Validate Deployment`** checkbox to verify whether the synchronization process will be successful or get failed. This is optional.
9. Select the **`Apex Test Level`** to validate your deployment. For detailed information on each apex test level, refer to the article: [Apex Unit Tests](/product-guides/arm/arm-features/deployment/apex-unit-tests.md)

<figure><img src="/files/M48PjjaaGSTNCEb8cAxn" alt="" width="516"><figcaption></figcaption></figure>

10. Click on **`Deploy`**.
11. You'll be navigated to the [**`Deployment History`**](/product-guides/arm/arm-features/deployment/monitor-deployments.md) page, where the current synchronization progress can be seen.

#### More information on the Org Synchronization Summary page <a href="#more-information-on-the-org-synchronization-summary-page" id="more-information-on-the-org-synchronization-summary-page"></a>

Synchronization summary information such as label name, source org, destination org, and so on.. can be seen on the **`Org Synchronization History`** page.

<figure><img src="/files/TICszsicXrEYkdVkACNU" alt=""><figcaption></figcaption></figure>

**Note:** In the ARMOR (new UI), options such as **View Info, Schedule, Delete, Download PDF Report, and Download CSV Report** are available from the **three-dot (...) menu** corresponding to each synchronization job on the **Org Synchronisation Summary** page. Select the required job and click the three-dot menu to access these actions.

1. **`Info:`** Click the![](/files/e2FAF8WOcEK66hfTJsfZ)icon to view the detailed synchronization report.

<figure><img src="/files/P9GKzET20XLgdTRCSjuH" alt="" width="503"><figcaption></figcaption></figure>

2. **`Delete:`** Click on the![](/files/ahD4bzsWUEljyM37tuh9)icon to delete a sync process. A confirmation message is displayed asking whether you want to delete the label. This process cannot be undone.
3. **`Schedule:`** Click the![](/files/8UeCFLcuRX8tu0WOs4HG)icon to set up when you want to carry out the org synchronization process. On the scheduled date and time, the org synchronization process runs automatically, and voila, you have a repeating schedule.
4. **`Run:`** Click the![](/files/8TUZpljKgtw7pQKp3WdT)icon to rerun the org synchronization process.
5. **`Status:`**&#x53;tatus of the synchronization process, i.e., successful or failed.

   * **Log Report:** Click on the![](/files/7IbgROQ1nPJQW8cvqBG1)icon under the **`Status`** column to view the log report for the sync process.

   <figure><img src="/files/NTcCw6LEOKzscTl8GMjv" alt="" width="563"><figcaption></figcaption></figure>
6. **`Report:`**&#x54;here are two options in this column.

   * Click on the![](/files/sGsMc1qwuWwCoSvTPowj)icon to view the metadata components difference report between the source and the target org.
   * Click on the![](/files/5M7niDz8BOcmqYHXRhgf)icon to download the Diff report in your local system (in PDF or CSV format).

   <figure><img src="/files/4ZohHYlVEZ97v3nnUpph" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/arm/arm-features/deployment/connecting-and-syncing-salesforce-orgs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
