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

# Choose what data to sync

> Enable the data types your app needs, for new and existing connections.

An **entity** is a type of data, such as people, notes, or tasks. A **credential** represents a connected account. Rollout syncs some entities automatically; you choose which optional entities your app needs in the dashboard or with `entitiesToSync` in code.

For example, a CRM app that only reads people can use the defaults. An app that also reads notes and tasks should enable `notes` and `tasks` before users connect.

This setting selects **types of data**, not individual records. It matters when using the Universal API as well as webhooks and Sync to DB.

## Configure new connections

Choose your defaults in the dashboard, or pass an explicit selection in code.

### Set defaults in dashboard Settings

1. Open the [Rollout dashboard](https://dashboard.universal.rollout.com/) and select your account.
2. Open **Settings** and scroll to **Default Entities To Sync**.
3. Select the optional data types your app needs, such as `notes` and `tasks`, then click **Save**.

![Default Entities To Sync in dashboard Settings, with data type checkboxes and a Save button](https://mintcdn.com/rollout/iBAMjSpSRgopW0U6/images/default-entities-to-sync.jpg?fit=max\&auto=format\&n=iBAMjSpSRgopW0U6\&q=85\&s=5a72bb4c68ccee239b8b251e22b91faa)

These defaults apply to **new connections created without an explicit `entitiesToSync` selection**. To use them with Rollout Link, omit the prop:

```tsx theme={null}
<CredentialsManager />
```

Updating these defaults does not change existing connections. Use [Update an existing connection](#update-an-existing-connection) to change those credentials.

### Set the selection in code

Pass your selection to Rollout Link when rendering the connection UI. An explicit selection takes precedence over the dashboard defaults. This example enables notes and tasks in addition to the always-synced entities:

> [tab] React
>
> ```tsx theme={null}
> <CredentialsManager entitiesToSync={{ notes: true, tasks: true }} />
> ```

> [tab] JavaScript
>
> ```javascript theme={null}
> // Inside your RolloutLinkProvider, using your existing React setup:
> React.createElement(CredentialsManager, {
>   entitiesToSync: { notes: true, tasks: true }
> })
> ```

Choose only the optional types your app needs. The dashboard and API accept the exact, case-sensitive keys shown below. The same prop is available on [`CredentialForm` and `AddCredentialForm`](https://rollout.com/docs/advanced-guides/use-your-own-integration-ui-with-the-credentialform-component).

> [!NOTE]
>
> Changing the prop does not update accounts that are already connected. Use [Update an existing connection](#update-an-existing-connection) for those credentials.

## Defaults and optional data types

**Always synced, where supported:** `people`, `users`, `transactions`, `peopleRelationships`, `offices`, `appointmentOutcomes`, `appointmentTypes`, `emailThreads`, `sources`, `stages`, `taskTemplates`, `timeframes`, and `ponds`. You do not need to include these in `entitiesToSync`, and they cannot be disabled through this setting.

**Optional types** must be enabled for your connection. These are common examples by API category; availability varies by connector:

| API category | Examples of optional keys |
| - | - |
| CRM / Mortgage CRM | `notes`, `tasks`, `calls`, `appointments`, `emailMessages`, `textMessages`, `customFields`, `events` |
| TMS | `documents`, `transactionNotes`, `transactionStageHistory` |
| LOS | `loans`, `borrowers`, `properties`, `assets`, `liabilities`, `realEstateOwned` |
| Email | `emailMessages` |
| Calendar | `calendars`, `calendarEvents` |

Other optional keys are `actionPlanPeople`, `actionPlans`, `emailMarketingCampaigns`, `emailMarketingEvents`, `lists`, `personAssignments`, `pipelines`, `smartLists`, `tags`, `teams`. Check the connector's syncable types before using them.

If your SDK version does not expose a key in its component props, configure that type through the dashboard or Update Credentials API.

The credential's **Entities To Sync** section in the dashboard shows the syncable types for its connector. Enabling a type does not add support to a connector that does not provide it.

## Update an existing connection

You can enable another entity without deleting the credential or asking the user to reconnect.

### In the dashboard

1. Open the credential for the connected account you want to update.
2. Find **Entities To Sync** and select the additional types your app needs. Keep the other types you still use selected.
3. Click **Save**. Rollout resets the connection's sync so the new selection can be fetched.

### Through the API

Use [Update Credentials](https://rollout.com/docs/api-reference/rollout/credentials/update-credential.md) with a token for the consumer associated with the credential:

```typescript theme={null}
const response = await fetch(
  `https://universal.rollout.com/api/credentials/${credentialId}`,
  {
    method: "PUT",
    headers: {
      Authorization: `Bearer ${authToken}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      // Include every optional entity your app still needs.
      entitiesToSync: { notes: true, tasks: true }
    })
  }
);

const data = await response.json();
if (!response.ok) {
  throw new Error(data.errorMessage || data.error || "Failed to update sync settings");
}
```

> [!WARNING]
>
> This request **replaces your app's optional selection for the credential**; it does not just add the keys in the request. If your app already uses tasks and you are adding notes, send both `tasks: true` and `notes: true`.

Only `true` entries are saved. Omit optional types your app no longer needs; sending `false` removes them from your selection. Always-synced types remain enabled. If a credential is shared with another Rollout app, data types requested by that app may continue syncing.

## Wait for the data to sync

A successful connection or settings update does not mean the newly enabled data has finished syncing. Allow the sync to run before expecting complete results. Timing depends on the connector and the amount of data.

If you receive a message such as `This credential is configured to not sync Notes.`, waiting alone will not fix it: the entity needs to be enabled on the credential used in your request. Follow [Fix an entity that is not configured to sync](https://rollout.com/docs/troubleshooting/entity-not-configured-to-sync.md).

For initial sync completion notifications, see the [credential sync completion callback](https://rollout.com/docs/advanced-guides/how-to-use-webhooks.md#credential-sync-completion-callback).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.