Step 1: Add a container for Rollout Link
Create an AngularJS controller that mounts Rollout Link into a DOM element that AngularJS owns:Step 2: Initialize Rollout Link from AngularJS
Fetch your Rollout token from the backend, load the Rollout stylesheet, then mount the UI component into the container: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 withentitiesToSync; 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.
A rendering of the Rollout Link UI Component
Step 3 (Optional): Handle when a new credential is added
You can passonCredentialAdded to run custom AngularJS logic after a user connects an integration: