Using GConnectors

Objective

After completing this lesson, you will be able to discover how GConnectors are used to facilitate integrating SAP Customer Data Cloud with external systems.

GConnectors for CMS & eCommerce

When integrating SAP Customer Data Cloud with external systems, for instance a Content Management System (CMS) and an e-commerce platform, you need to ensure real-time data synchronization, secure identity management, and a consistent user experience across platforms.

A GConnector links SAP Customer Data Cloud with an external system, for instance a CMS or eCommerce system.

GConnectors simplify the implementation of SAP Customer Data Cloud within platforms such as CMS and e-commerce systems. They provide real-time synchronization of customer sessions and data between Customer Data Cloud and the integrated platform, ensuring data consistency and a cohesive customer journey..

A GConnector for CMS or eCommerce offers several key features:

  • Support for Customer Identity – Manages and synchronizes customer identities across systems.
  • Session Synchronization – Keeps user sessions consistent between Customer Data Cloud and the CMS or e-commerce platform.
  • Secure by Design – Ensures secure data transfer and storage.
  • UID-Based Sync – Uses a unique identifier (UID) for each user to maintain data integrity.
  • Field Mapping and Hooks for Data Transformation– Allows mapping of fields between systems and provides hooks for custom data transformations.
  • Easy Logging and Debugging – Simplifies the process of monitoring and troubleshooting data synchronization.
  • Built-in Localization Support– Supports multiple languages and inherits language settings from the CMS.

Extended functionality includes session management configuration, back-office synchronization to display up-to-date user data in the CMS admin panel, and synchronization with Customer Data Cloud's Data Store (DS).

GConnector Data Sync

A GConnector uses a CDC UID to link SAP Customer Data Cloud with an external system, for instance a CMS or eCommerce system.

Data synchronization between SAP CDC and the CMS is based on the CDC UID. This ensures that user information remains independent of input provided by the user (for instance, name or email address) and passed passed seamlessly between systems. The UID field is automatically created in the CMS when the GConnector is installed.

When configuring Customer Data Cloud for CMS integrations, the customer’s email address is always used as the login identifier (by being included in the loginID). Fields in one system are dynamically mapped to corresponding fields in the other system. By default, the GConnector normally maps the following fields for every CMS user: first name, last name, and email.

GConnectors offer the option of registering with specific events and adding custom code. Hooks are invoked after the following events:

  • Field Mapping – Allows transforming data between systems, such as combining multiple fields into one. For instance, profile.birthDay, profile.birthMonth, and profile.birthYear can be combined into a single CMS field such as birthDate.
  • Language – Enables making on-the-fly exceptions to the GConnector language settings and loading screen-sets in different languages.
  • Screen-sets – Passes specific parameters into the screen-set for accounts.showScreenSet.
  • Web SDK Config – Allows overriding the Web SDK configuration parameters defined for the GConnector.

GConnector for SAP Commerce Cloud

SAP Customer Data Cloud, with its Identity Store and Consent Vault, interacts with SAP Commerce Cloud, providing its Session Management, Field Mapping, Data Sync, and Consent.

SAP Customer Data Cloud integration provides a set of SAP Commerce extensions to enable Customer Identity, real-time customer data synchronization, and manage profile updates and user consent from SAP Commerce Cloud. SAP CDC screen-sets are implemented on the Commerce side as a set of CMS components in the gigyaloginaddon extension.

Customer Identity and Social login flows are managed through CDC.

Session Management

You can choose whether sessions are managed by the GConnector or SAP Commerce Cloud. If you choose SAP Commerce Cloud (Hybris), everything is handled by the Hybris CMS. If you elect to give CDC control over the session, then the GConnector will determine when they end.

You can use a single session configuration for any number of storefronts. Multiple configurations are only needed for storefronts that have different session configuration needs.

Field Mapping

By default, the following required SAP Commerce fields are mapped from SAP CDC to SAP Commerce on registration, login, and profile update:

  • UID
  • firstName

Data Sync

The data in the mapped fields is synced automatically every time a user logs in, or a user's profile is updated (regardless of whether it is being updated by the user or by a Backoffice User). You can configure how the synchronization will be handled in your CDC Configuration. This synchronization happens either in the same thread as the update/login, or via tasks. By default, all synchronizations are asynchronous.

For more information, refer to the GConnector for SAP Commerce Cloud documentation in the SAP Help Portal.

Summary

In this lesson, you learned that:

  • GConnectors facilitate the integration of SAP Customer Data Cloud with CMS and e-commerce platforms.
  • They ensure real-time data synchronization, secure identity management, and consistent user experiences.
  • GConnectors for SAP Commerce Cloud provide extensions for Customer Identity, data synchronization, and consent management.