> For the complete documentation index, see [llms.txt](https://docs.drivepoint.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.drivepoint.io/data-integrations/retail-and-inventory/salesforce.md).

# Salesforce

Connect Salesforce to Drivepoint and choose which custom objects to sync.

Drivepoint reads your Salesforce CRM so opportunities, orders, products, and accounts sit alongside the rest of your data.

You do not create a Salesforce app, and you do not paste API keys. A Salesforce administrator signs in and approves Drivepoint. The standard revenue objects then sync on their own. Custom objects are optional, and you choose them after the connection is saved.

{% hint style="info" %}
The person who clicks Connect must be able to sign in to the Salesforce org you want Drivepoint to read. That user also needs permission to use the Salesforce API and to view every object you want synced.
{% endhint %}

## Before you connect

{% stepper %}
{% step %}

## Confirm an administrator can approve the app

Approving a new app is a Salesforce administrator action. If your company blocks new apps until an admin allows them, do that first. An administrator can review apps in Salesforce Setup.
{% endstep %}

{% step %}

## Connect the production org

Drivepoint signs you in at the normal Salesforce login. A sandbox login does not connect your live customer data. Use a sandbox only if your Drivepoint representative asked you to.
{% endstep %}

{% step %}

## Check that your user can see the objects

Drivepoint can only sync objects that Salesforce user is allowed to read. If a profile or permission set hides Opportunities, Orders, or a custom object, that object will not come through.
{% endstep %}
{% endstepper %}

## Connect Salesforce

You need admin access in Drivepoint to add a data source.

{% tabs %}
{% tab title="Drivepoint web app" %}
{% stepper %}
{% step %}

## Open Data Sources

In Drivepoint, open Administration, then Data Sources.
{% endstep %}

{% step %}

## Choose Salesforce

Click New Connection, then Salesforce. Drivepoint sends you to Salesforce to sign in.
{% endstep %}

{% step %}

## Approve access

Sign in to the Salesforce org you want connected and approve the Drivepoint app. Drivepoint asks to read data and to stay connected, so the daily sync can run without another sign-in.

If Salesforce says the app is blocked, ask a Salesforce administrator to allow the Drivepoint app, then start Connect again from Data Sources.
{% endstep %}

{% step %}

## Return to Data Sources

Salesforce sends you back to Drivepoint. The org appears as a Salesforce row, and Drivepoint starts syncing the standard objects listed below.

If something went wrong, the Data Sources page shows the reason. Start Connect again from that page. Do not reuse an old Salesforce browser tab.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Drivepoint Neo" %}
{% stepper %}
{% step %}

## Open Data Sources

In Neo, open Data Sources and choose Connect.
{% endstep %}

{% step %}

## Choose Salesforce

Pick Salesforce, name the connection, and continue. Drivepoint sends you to Salesforce to sign in and approve access. Use the production org.
{% endstep %}

{% step %}

## Come back to Neo

After you approve, Salesforce returns you to Neo and the org is listed under Salesforce. The standard objects start syncing. If sign-in did not finish, Neo shows the reason. Start Connect again.
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

## What syncs automatically

These objects are included as soon as the connection succeeds. You do not select them.

| Object              | What it is                 |
| ------------------- | -------------------------- |
| Opportunity         | Deals                      |
| OpportunityLineItem | Products on an opportunity |
| Order               | Orders                     |
| OrderItem           | Lines on an order          |
| Contract            | Contracts                  |
| Product2            | Products                   |
| Pricebook2          | Price books                |
| PricebookEntry      | Prices                     |
| Account             | Accounts                   |
| User                | Salesforce users           |

Drivepoint syncs once a day. The first sync can take a while when the org has a long history. History starts at the beginning of 2018 unless you set a later start date in Neo.

## Custom objects

A custom object is one your company created in Salesforce. Its API name ends in `__c`, for example `Revenue_Schedule__c`. The label you see on screen, such as Revenue Schedule, is not the name Drivepoint needs.

Custom objects are left out until you add them. Adding or removing them does not turn off the standard objects above.

{% hint style="warning" %}
Drivepoint can only sync a custom object the connected Salesforce user is allowed to query. If an object is missing from the list, or a save fails, ask a Salesforce administrator to grant that user read access, then try again.
{% endhint %}

{% tabs %}
{% tab title="Drivepoint web app" %}
{% stepper %}
{% step %}

## Open Configure objects

On the Salesforce row in Data Sources, open the row menu and choose Configure objects.
{% endstep %}

{% step %}

## Select objects

Drivepoint lists the custom objects your user can query. Check the ones you want. If an object is not in the list, type its API name under Additional API names. Use one name per line, or separate names with commas. Each name must end in `__c`.
{% endstep %}

{% step %}

## Save

Save. Drivepoint includes those objects on the next sync. To stop syncing a custom object, open Configure objects again, clear it, and save. The standard objects stay.
{% endstep %}
{% endstepper %}
{% endtab %}

{% tab title="Drivepoint Neo" %}
{% stepper %}
{% step %}

## Open the Salesforce source

Open the connected Salesforce source and edit Configuration.
{% endstep %}

{% step %}

## Enter API names

Under Custom objects, put one API name per line. Each name must end in `__c`. You can also set a start date if you want history to begin later than 2018. Leave the date blank to keep the default.
{% endstep %}

{% step %}

## Save

Save the configuration. An invalid name is rejected, and Drivepoint lists the names to fix. Clearing the list returns the connection to the standard objects only.
{% endstep %}
{% endstepper %}
{% endtab %}
{% endtabs %}

## If something fails

| What you see                                                        | What to do                                                                                               |
| ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| Salesforce did not finish sign-in                                   | Start Connect again from Data Sources. Do not refresh an old Salesforce approval page.                   |
| The sign-in link expired, or it was started for a different company | Start Connect again while you are in the correct Drivepoint company.                                     |
| Salesforce rejected the sign-in                                     | Approve the Drivepoint app, and confirm you are signing into the production org.                         |
| The org is connected, but the sync could not start                  | The connection is saved. Email <support@drivepoint.io> and include the Salesforce org name.              |
| Custom objects could not be listed                                  | Type API names that end in `__c`. If save still fails, your user may not be allowed to read that object. |
| A name was rejected                                                 | Use the API name, not the label. It must look like `Your_Object__c`.                                     |

Email <support@drivepoint.io> if the message on screen does not match one of these, and include a screenshot of Data Sources. Do not send Salesforce passwords or security tokens.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.drivepoint.io/data-integrations/retail-and-inventory/salesforce.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
