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

# How To Export Data From Salesforce To Import Into Affinity

> Help center reference

<Note>**How-to** — task-oriented recipe.</Note>

For clients looking to migrate data from Salesforce to Affinity, follow the steps below to seamlessly export data from Salesforce in **one single** file rather than multiple files.

1. In your Salesforce instance, click on **Reports**.

<img src="https://mintcdn.com/support-affinity/lgYDtx_FgwCFHQTT/images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/1.jpg?fit=max&auto=format&n=lgYDtx_FgwCFHQTT&q=85&s=267481bf53f1f91c69fe8f214371a6a9" width="1561" height="462" data-path="images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/1.jpg" />

2. Click **New Report** in the top-right corner.

<img src="https://mintcdn.com/support-affinity/lgYDtx_FgwCFHQTT/images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/2.jpg?fit=max&auto=format&n=lgYDtx_FgwCFHQTT&q=85&s=94c4a8d73a847d3f76338f1641ff6736" width="1558" height="362" data-path="images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/2.jpg" />

3. Under **Select a Report Type**, click the dropdown arrow next to the Report Type of your choice, then click **Start Report**.

<img src="https://mintcdn.com/support-affinity/lgYDtx_FgwCFHQTT/images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/3.jpg?fit=max&auto=format&n=lgYDtx_FgwCFHQTT&q=85&s=3f3c7caf8789e5662d4ea73d96afe9a5" width="1600" height="784" data-path="images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/3.jpg" />

4. Under **Columns** on the left sidebar, select which columns to include in your report. Then, click **Save & Run** in the top-right corner.

<img src="https://mintcdn.com/support-affinity/lgYDtx_FgwCFHQTT/images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/4.jpg?fit=max&auto=format&n=lgYDtx_FgwCFHQTT&q=85&s=f56d142a8520eb1b6bd5f0bf462e20a6" width="1600" height="579" data-path="images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/4.jpg" />

5. Enter your Report Name and click **Save**.

<img src="https://mintcdn.com/support-affinity/lgYDtx_FgwCFHQTT/images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/5.jpg?fit=max&auto=format&n=lgYDtx_FgwCFHQTT&q=85&s=30705d798659114d34659ff227fd8b8e" width="1251" height="565" data-path="images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/5.jpg" />

6. In the top-right corner, click the drop down arrow next to **Edit** and click **Export**.

<img src="https://mintcdn.com/support-affinity/lgYDtx_FgwCFHQTT/images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/6.jpg?fit=max&auto=format&n=lgYDtx_FgwCFHQTT&q=85&s=828d47dfa4bc65833ed8b4165920fc17" width="243" height="332" data-path="images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/6.jpg" />

7. Export as **Details Only**. Then, make sure to select **Excel Format .xls** or **.csv** for the Format field, then click **Export**.

**Note**: We do not suggest exporting using the **.xlsx** option because cells with lots of text will get cut off after a certain number of characters.

<img src="https://mintcdn.com/support-affinity/lgYDtx_FgwCFHQTT/images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/7.jpg?fit=max&auto=format&n=lgYDtx_FgwCFHQTT&q=85&s=dcda680c9c02447e772b026da04139c0" width="658" height="478" data-path="images/integrations-salesforce/how-to-export-data-from-salesforce-to-import-into-affinity/7.jpg" />

8. You may notice that some activities are missing in the exported file - this is likely due to Salesforce's policy on [**Archive Days Limits and Maximums**](https://help.salesforce.com/s/articleView?id=000385669\&type=1), which range from 1-10 years:
   1. 365 days (1 year as the default)
   2. 1826 days (5 years as the recommended maximum)
   3. 3650 days (10 years as the maximum limit) To increase the Archive Days limit, please ask your System Administrator to [**create a Support Case with the Feature Activations & Limits Team**](https://help.salesforce.com/s/articleView?id=000391052\&type=1).
9. Now that you have the exported file from Salesforce, follow these articles below to start the import process into Affinity:
   1. [Cleaning up your data before importing into Affinity](/s/article/Cleaning-up-your-data-before-importing-into-Affinity)
   2. [How to import your data into Affinity](/s/article/How-to-import-your-data-into-Affinity)
   3. [Viewing your data import history](/s/article/Viewing-your-data-import-history)
