> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.komo.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce — CRM Contact Sync

> Set up an on-demand data sync to push and sync contacts from Komo to your CRM.

## What is it?

You can now have confidence that the contact data within your Salesforce CRM is up-to-date with CRM Contact Sync. Through direct integration with your Salesforce instance, Komo can now push new contacts and contact updates directly to Salesforce, on-demand, so you can eliminate manual and painful contact management processes.

<Note>
  If you are using Salesforce Marketing Cloud, you'll want to refer to another article [here](/crm/syncs/salesforce-marketing-cloud-crm-contact-sync).
</Note>

## How do I set it up?

* Step 1: Connect the Salesforce Connected App
* Step 2: Create CRM Sync
* Step 3: Complete Sync configuration
* Step 4: Run the CRM Sync
* Step 5: Review the CRM Sync

### Step 1: Connect the Salesforce Connected App

<img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-1-connect-the-step-4.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=a5286c7c1cdfe6a517bfdd49e3c0b740" alt="Salesforce — CRM Contact Sync: step 4 — Step 1: Connect the Salesforce Connected App" width="688" height="447" data-path="images/salesforce-crm-contact-sync-step-1-connect-the-step-4.webp" />

In order to connect to Salesforce, you need to create a connected app in Salesforce. Make sure you use the **OAuth 2.0 Client Credentials Flow**. For info on how to set this up visit [Salesforce help](https://help.salesforce.com/s/articleView?id=sf.connected_app_client_credentials_setup.htm) or contact your customer success manager.

* Navigate to **Account Settings** by clicking the **Workspace initials** in the top right corner and clicking **Account Settings.**
* **(1)** Click **Connected Apps.**
* **(2)** Select **Connect** next to the Salesforce Connected App.

<Accordion title="Connect Salesforce">
  <img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-1-connect-the-option-a.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=692f32e4dce187573ef232d75031a03e" alt="Salesforce — CRM Contact Sync: option a — Step 1: Connect the Salesforce Connected App" width="2940" height="1912" data-path="images/salesforce-crm-contact-sync-step-1-connect-the-option-a.webp" />

  * **(A)** Here you can insert the **CRM Domain Name** from your CRM instance.
  * **(B)** Insert the **Client ID/consumer key** from the connected CRM.
  * **(C)** Here you can paste in the **Client Secret** of the connected CRM.
  * **(D)** Click **Test** under Test Connection. If the connection is successful, you will see a green **Connection Successful** message.
  * **(E)** Click **Connect.**
</Accordion>

### Step 2: Create CRM Sync

<img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-2-create-crm-step-2.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=26f7978baa299055a1765dcb2a937c47" alt="Salesforce — CRM Contact Sync: step 2 — Step 2: Create CRM Sync" width="2940" height="1912" data-path="images/salesforce-crm-contact-sync-step-2-create-crm-step-2.webp" />

* **(1)** Navigate back to your workspace and click on **CRM.**
* **(2)** Click **Syncs.**
* **(3)** Click the **+ Create Sync** button.
* **(4)** Select the **CRM** you would like to sync with.

### Step 3: Complete Sync configuration

<img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-3-complete-sync-step-3.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=77ab58764de0392963dd0616e422bb8a" alt="Salesforce — CRM Contact Sync: step 3 — Step 3: Complete Sync configuration" width="2940" height="1912" data-path="images/salesforce-crm-contact-sync-step-3-complete-sync-step-3.webp" />

* **(1)** Here you can configure the CRM Sync **Setup.**
* **(2)** Select whether the **Data source** to sync should be **Contact** or **Lead.**
* **(3)** Select the field within **Komo** and your **CRM** which will be used to match contacts between the two platforms.
* **(4)** Set the desired **Sync Actions** to be performed when there is a **match** and when there is **no match.**
* **(5)** Click on **Filter (optional)** if you would like to add filters to your sync.

  <Accordion title="Add Filters">
    <img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-3-complete-sync-option-a.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=64d5bd0a3d251ebb4562a228edf0255c" alt="Salesforce — CRM Contact Sync: option a — Step 3: Complete Sync configuration" width="688" height="447" data-path="images/salesforce-crm-contact-sync-step-3-complete-sync-option-a.webp" />

    * **(A)** Click **+ Add Filter.**
        <img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-3-complete-sync-option-a-2.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=fab7bd5e5978dd725f6f5bd9f42480e2" alt="Salesforce — CRM Contact Sync: option a — Step 3: Complete Sync configuration" width="688" height="447" data-path="images/salesforce-crm-contact-sync-step-3-complete-sync-option-a-2.webp" />
      * **(a)** Here you can configure your **Filters** as required.
      * **(b)** Click the bin to **delete** any filters you have created.
  </Accordion>
* **(6)** Click on **Field Mapping** to ensure contact fields in Komo are properly mapped to the fields in your CRM.

  <Accordion title="Map Fields">
    <img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-3-complete-sync-option-a-3.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=25aeabf6ccceb52d60c047e9240f4cec" alt="Salesforce — CRM Contact Sync: option a — Step 3: Complete Sync configuration" width="688" height="447" data-path="images/salesforce-crm-contact-sync-step-3-complete-sync-option-a-3.webp" />

    * **(A)** Click **+ Add Field.**
        <img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-3-complete-sync-option-a-4.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=a67f17970a35862049f20d6fadaf7a2e" alt="Salesforce — CRM Contact Sync: option a — Step 3: Complete Sync configuration" width="688" height="447" data-path="images/salesforce-crm-contact-sync-step-3-complete-sync-option-a-4.webp" />
      * **(a)** Select the desired **Komo field** to be mapped.
      * **(b)** Select the corresponding **CRM field** that the Komo field should be mapped to.
      * **(c)** Click **Add.**
  </Accordion>

### Step 4: Run the CRM Sync

<img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-4-run-the-step-4.gif?s=874a37f035508fba666780e6f3b7f2e8" alt="Salesforce — CRM Contact Sync: step 4 — Step 4: Run the CRM Sync" width="800" height="520" data-path="images/salesforce-crm-contact-sync-step-4-run-the-step-4.gif" />

* Once your CRM Sync settings are configured, it's time to run the sync.
* Click the **3 dots** at the top right of the screen.
* Click **Rename,** give the sync a more easily identifiable **Internal** **Name** and click the **Rename** button.
* Click the **3 dots** again and select **Start.** The sync will now display as **Running.**
* Click the **3 dots** once again and select **Sync now.** You will now see details of the sync that has just been initiated.

<Note>
  You can repeat the **Sync now** step every time you want the sync to run/be updated.
</Note>

### Step 5: Review the CRM Sync

<img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-5-review-the-step-5.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=90fb80017c037e75b4418e3f94bbc9f1" alt="Salesforce — CRM Contact Sync: step 5 — Step 5: Review the CRM Sync" width="2940" height="1912" data-path="images/salesforce-crm-contact-sync-step-5-review-the-step-5.webp" />

* You can now review the sync to ensure it's performing as expected.
* **(1)** Here you can view all details relating to the sync including **ID,** when it was **Created** and **Last Updated,** the **Run duration** and **Status.**
* **(2)** Click on the **Green tick** to view more detailed information on the **Sync Run.**

<Accordion title="Sync Run Information">
  <img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-5-review-the-option-a.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=45f3abfc1a8c87a0ba15579f9050176a" alt="Salesforce — CRM Contact Sync: option a — Step 5: Review the CRM Sync" width="688" height="447" data-path="images/salesforce-crm-contact-sync-step-5-review-the-option-a.webp" />

  * **(A)** Here you will be able to see a **Summary** of the key **Sync Run details.**
  * **(B) Totals** displays the total number of contacts within your Komo and CRM instances.
  * **(C) CRM Inserts** displays how many contacts the sync successfully imported into the CRM and how many errors were encountered.
  * **(D) CRM Updates** displays how many contacts the sync successfully updated in the CRM and how many errors were encountered.
  * **(E)** Click **Logs** to view in depth logs of the executed sync.
      <img src="https://mintcdn.com/komotechnologies/haZ8nFo61lut3UyH/images/salesforce-crm-contact-sync-step-5-review-the-option-a-2.webp?fit=max&auto=format&n=haZ8nFo61lut3UyH&q=85&s=6a7628569b377911d13065a1c78bb998" alt="Salesforce — CRM Contact Sync: option a — Step 5: Review the CRM Sync" width="688" height="447" data-path="images/salesforce-crm-contact-sync-step-5-review-the-option-a-2.webp" />
    * **(a)** Here you can view a log of the various actions that took place within the sync.
    * **(b)** Click **Download results** to export a CSV of the syng logs.
</Accordion>

## FAQ

**Is the CRM Contact Sync a two-way sync (ie. push and pull)?**

At this stage, the CRM Contact sync is a one way sync (push) from Komo to the CRM. This means that any any updates to contacts within Komo will automatically be pushed to the CRM to ensure the CRM remains in sync with the changes made in Komo. In the instance where a contact is updated in the CRM initially, the change will not be reflected in Komo. We will be rolling out a true two-way (push and pull) sync in a future release.

**How often will the CRM Contact Sync run?**

The sync is completely on-demand so you can run the sync as often or as little as you require. To do so, you simply need to click **Sync now** as detailed in [Step 4.](#how-do-i-set-it-up-step-1-connect-the-salesforce-connected-app).

**Is this available for all CRMs?**

At this stage, the CRM Contact Sync has only been rolled out for Salesforce and Salesforce Marketing Cloud. We will be rolling out this functionality for additional CRMs in the near future.

**Can this be managed by all users?**

The CRM Contact Sync can only be managed by Super Users at this point in time. We will be making this functionality available to additional users in the near future.

**How many CRM Contact Syncs can I create?**

You can create as many different syncs as you require!
