# Salesforce

### Connecting to Salesforce

1. Go to <https://admin.arcwise.app/#/api_connections> and click the "+ Create" button.
2. Select "Salesforce" from the dropdown.
3. Select a data warehouse (where Arcwise will store snapshots). See [Overview](https://docs.arcwise.app/espanol/configuracion-de-arcwise/integraciones/descripcion-general) for more information. You can also connect an [s3](https://docs.arcwise.app/espanol/configuracion-de-arcwise/conectar-el-almacen-de-datos/s3 "mention") bucket.
   1. For the "Destination schema", the easiest option is to use the snapshot schema linked to the warehouse (e.g. `_arcwise_snapshots`. *Warning: this may be case-sensitive!*). You can also create a new schema if it's preferable.
4. Click the "Log in with Salesforce" button and enter your Salesforce login details. It may take a few minutes to sync the available set of tables.

<figure><img src="https://content.gitbook.com/content/wI8nYxt7RQv62I15Xc6n/blobs/Xx67U9aFHJ8HNzJTKY3M/CleanShot%202023-11-09%20at%2017.30.50@2x.png" alt=""><figcaption></figcaption></figure>

5. Once the list of available tables appears, use the checkboxes to select which Salesforce objects should be available to connect through the Arcwise addon. Scroll down and click "Save" when finished.<br>

   <figure><img src="https://content.gitbook.com/content/wI8nYxt7RQv62I15Xc6n/blobs/ST6mZLZzay1kgsCZn0XS/CleanShot%202023-11-09%20at%2017.32.50@2x.png" alt=""><figcaption><p>You can refer to Salesforce's <a href="https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_list.htm">official documentation about each object</a>.</p></figcaption></figure>

### Connecting to Salesforce objects and reports

Once connected, you should be able to access the "Integrations" tab from the Connect Data dialog and see the list of tables enabled above:

<figure><img src="https://content.gitbook.com/content/wI8nYxt7RQv62I15Xc6n/blobs/UUxKcXzGuacIFwmt5RPj/CleanShot%202023-11-09%20at%2017.37.37@2x.png" alt=""><figcaption></figcaption></figure>

You can also paste a link to a Salesforce report to import it. The report must be in tabular form - avoid using aggregations & groupings (these will not be imported.)

<figure><img src="https://content.gitbook.com/content/wI8nYxt7RQv62I15Xc6n/blobs/uOmYMYtQikXvky81hg3k/CleanShot%202023-11-09%20at%2017.37.59@2x.png" alt=""><figcaption></figcaption></figure>
