# Salesforce

Using Orbit Connect, you can bring in Salesforce data to combine and supplement data from your other external systems. Once imported, you can map this data to a User Defined Table or, if you use the Apteco Customer Data Platform (CDP), to a Customer Data Table, where you can also apply ID resolution and validation rules.

## Pre-requisites

> [!NOTE]
>
> Before creating a Salesforce data source, your system administrator must set up and configure your Salesforce data for access by Orbit Connect. For more information, see the following [Salesforce technical documentation](<https://help.apteco.com/en/admin/integration/salesforce/data-source/index.md>).

You'll need three pieces of information from your Salesforce environment:

- The URL of your Salesforce My Domain
- Your Consumer Key
- Your Consumer Secret

Without these items, you can't proceed with setting up this data source type.

## Creating a Salesforce data source

To create a Salesforce data source:

1. In **Orbit Connect**, go to **Data Sources** and select **\+ New Data Source**.
2. Next to Salesforce, select **Connect**.
3. Enter a **Data Source Name** and select **Create**.
4. From the **Credential** list, select **\+ New Credential**.

   If you've already added a Salesforce credential, choose it instead and go to step 6.
5. Enter the following details, then select **Add**:

   - **Credential Name**
   - **My Domain (Instance URL)**
   - **Consumer Key**
   - **Consumer Secret**
6. From the **Tables** list, search for and select the table you want to import.

   A preview of the data appears.

   To import the results of your own SOQL query instead, select **Custom Query**. For more information, see [Custom queries](<https://help.apteco.com/en/orbit/connect/data-sources/custom-queries/index.md#use-a-custom-query-with-salesforce>).
7. Select **Import** to send the data into the staging database.

   [![The Data Preview of the Salesforce Contact table, with the Import button highlighted at the top right](<https://help.apteco.com/assets/images/orbit/connect/data-sources/salesforce/Import.png>)](<https://help.apteco.com/assets/images/orbit/connect/data-sources/salesforce/Import.png>)
8. Repeat these steps for each table you want to import from Salesforce.

You can now [map your data](<https://help.apteco.com/en/orbit/connect/data-mappings/index.md>) to a User Defined Table or, if you use the Apteco CDP, to a Customer Data Table.
