# Migrating to Data Connect Components source: https://developer.mastercard.com/open-finance-us/documentation/connect/components/migration/index.md ## Onboarding {#onboarding} During onboarding, you receive: * Mastercard Terms and Privacy Notice links * Mastercard brand assets
Both of these are required to be embedded in your application as outlined in the [UX Requirements](https://developer.mastercard.com/open-finance-us/documentation/connect/components/ux-implementation/index.md#ux-requirements) section of the [Data Connect Components UX Implementation Guide](https://developer.mastercard.com/open-finance-us/documentation/connect/components/ux-implementation/index.md). During onboarding, you must get Mastercard Legal approval for the user journey to ensure all Mastercard requirements are met. This includes sharing screens of the user journey. Coordinate with your Mastercard representative to begin this process. ## Authentication and Configuration {#authentication-and-configuration} You must authenticate before calling any Data Connect Components APIs. You must also create a customer record before calling Data Connect Components APIs. You need a customer ID when calling **[Create Login Form](https://developer.mastercard.com/open-finance-us/documentation/connect/components/flows/index.md#legacy-connections)** , **[Create OAuth URL](https://developer.mastercard.com/open-finance-us/documentation/connect/components/flows/index.md#oauth-connections)** or **[Initiate Reconnection (Data Connect Fix)](https://developer.mastercard.com/open-finance-us/documentation/connect/components/flows/index.md#initiate-reconnection-data-connect-fix-for-components)**. See also the [Authentication](https://developer.mastercard.com/open-finance-us/documentation/onboarding/index.md#authentication) and [Customer](https://developer.mastercard.com/open-finance-us/documentation/customer-records/index.md#customers) sections for more details. ## FI Selection {#fi-selection} You are responsible for building and managing the financial institution (FI) selection portion of the user journey. As with Data Connect Lite, you can use APIs to retrieve the Mastercard Institution List to build and manage FI selection. This includes managing certification and branding, both of which are available via API. ## Account Selection and Review {#account-selection-and-review} You are responsible for building and managing the account selection and review portion of the user journey. As with Data Connect Lite, you can use APIs to retrieve account details to build and manage account selection and review. Data Connect Components provides the account IDs via webhook or SDK events. You need these IDs to retrieve the account details. ## Adding Accounts {#adding-accounts} Data Connect Components adds all accounts when retrieving accounts, unless your configuration object sets account type filtering to exclude certain types of accounts. Once the accounts are added, you receive the list of account IDs via webhook or SDK event. ## Error States {#error-states} You are responsible for managing error states for your users. When applicable, you receive an error code via API response, webhooks or SDK events. You need to understand the error code and act accordingly to manage the user experience and flow. Example: The credentials submitted by the user when attempting to log in to a legacy institution are incorrect. You receive an error code (likely 103) via webhook or SDK event, depending on your integration type. You need to manage how you tell the user that the credentials were incorrect. Data Connect Components does not present anything to the user. For details on handling errors in the Data Connect Components SDK, see: * [Data Connect Components SDK Error Handling](https://developer.mastercard.com/open-finance-us/documentation/errors/connect-components-errors/index.md) ## Differences Between Data Connect Components and Data Connect Full and Lite {#differences-between-data-connect-components-and-data-connect-full-and-lite} ### No Experiences {#no-experiences} Data Connect Components does not use experiences or experience IDs like the other versions of Data Connect. Its flexibility and customization enable you to manage and configure the experience yourself. Experiences in the other versions of Data Connect are available for things such as brand color, brand icon or hiding the exit button. You manage these settings and the entire user journey design and experience. As such, experiences and experience IDs are not in Data Connect Components. ### No Data Connect Components Managed Sessions {#no-data-connect-components-managed-sessions} With the flexibility and high level of customization Data Connect Components provides, you can manage the user journey. Because you manage and host the entire user journey, Data Connect Components has no sessions and does not track sessions. You need to manage user sessions and session information. ### Webhook Mapping between Data Connect Component and Data Connect Lite {#webhook-mapping-between-data-connect-component-and-data-connect-lite} Note: The names of the Data Connect Components events are different in structure due to using the Open Finance Centralized Webhook Service. | Data Connect Lite Webhook | Data Connect Components Webhook | Your Actions | |---------------------------|----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `started` | N/A | You handle the start of the flow | | `processing` | `connect-components.legacy-user-login.submitted` | | | `processing` | `connect-components.legacy-user-login.accepted` | | | `institutionNotSupported` | N/A | You are responsible for directing users to supported FIs | | `institutionSupported` | N/A | You are responsible for directing users to supported FIs | | `invalidCredentials` | `connect-components.legacy-user-login.rejected` | | | `mfa` | `connect-components.mfa.submitted`, `connect-components.mfa.required`, `connect-components.mfa.rejected` | | | `mfaUpdated` | N/A | This is handled by the above MFA events | | `unableToConnect` | `connect-components.legacy-user-login.rejected` | | | `adding` | N/A | Data Connect Components receives the accounts added. Therefore, this use case does not apply and is covered by the `accountsReturned` event. | | `added` | `connect-components.accounts.added` | Unlike Lite, Components returns the account IDs. You need to call an aggregation API (see below) to get the account details for the accounts that the end user selected. `GET https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId`, `GET https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId` | | `done` | N/A | You receive account IDs in the `accountsReturned` event, which indicates the flow is complete for the given institution. |