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

# Controlling Which Records Sync with Rollout

Use `entitiesToSync` to enable optional entities per credential.

### Always-Synced vs Opt-In

Rollout has two buckets:

* Always-synced entities: enabled by default and not disableable.
* Opt-in entities: only synced when you set them to `true`.

The always-synced defaults currently include:

* `users`, `people`, `transactions`
* `offices`, `appointmentOutcomes`, `appointmentTypes`, `emailThreads`
* `sources`, `stages`, `taskTemplates`, `timeframes`, `ponds`

Everything else is opt-in (for example `tasks`, `notes`, `calls`, `appointments`, `loans`, `borrowers`, `properties`, `events`, `documents`, etc.).

### Enable Opt-In Entities

Pass `entitiesToSync` into `CredentialsManager`:

<Tabs>
  <Tab title="React">
    ```tsx theme={null}
    <CredentialsManager entitiesToSync={{ tasks: true, notes: true }} />
    ```
  </Tab>

  <Tab title="Vue">
    ```javascript theme={null}
    mounted() {
      fetch("/rollout-token")
        .then((resp) => resp.json())
        .then((data) => data.token)
        .then((token) => {
          import("https://esm.sh/@rollout/link-react@latest?bundle=all").then(
            ({ RolloutLinkProvider, CredentialsManager, createElement, createRoot }) => {
              this.rolloutRoot = createRoot(this.$refs.rolloutContainer);
              this.rolloutRoot.render(
                createElement(
                  RolloutLinkProvider,
                  { token },
                  createElement(CredentialsManager, {
                    entitiesToSync: { tasks: true, notes: true }
                  })
                )
              );
            }
          );
        });
    }
    ```
  </Tab>
</Tabs>

### Notes

* Use `true` for entities you want to enable.
* `false` values are not persisted; omit keys you do not want to enable.
* Only entities supported by a connector are applied for that connector.
