Skip to main content

Step 1: Set Up Component Structure

Create a Vue component with a container ref for mounting Rollout components:

Step 2: Initialize Rollout Components

Add the initialization logic in mounted lifecycle hook:

Choose what data to sync

An entity is a type of data, such as people, notes, or tasks. People sync automatically where supported. The examples below enable optional notes and tasks with entitiesToSync; choose the types your app needs. Alternatively, omit this prop to use the defaults you choose in dashboard Settings. An explicit selection in code takes precedence over those defaults. This configures new connections. For other types or accounts that are already connected, see Choose what data to sync.

Step 3 (Optional): Handle Credential Events

Add credential event handling by implementing a handler method:

Full Implementation Example