Installation

Summary

Introduction

The installation of the SAP Commerce integration is a technical process that should be handled by individuals or teams with a strong technical background and experience in setting up software integrations.

To ensure a successful installation of the connector, we strongly recommend enlisting the expertise of a technical resource with a proven track record of SAP Commerce skills and Akeneo PIM knowledge. This individual or team should have a demonstrated proficiency in both SAP Commerce, Integration Suite and BTP and the specifics of the integration to carry out the installation effectively. Their experience and knowledge will be instrumental in setting up the connector correctly and maintaining its optimal performance. If you need assistance in finding the right partner, please reach out to your Customer Success Manager (CSM) for further details and assistance.

Please make sure to review the what you need to know section including the compatibility page before before getting the integration.

Getting the connector

To acquire the integration, please reach out to us through the app store or directly by contacting your dedicated CSM. 

We will provide you with access to our Private GitHub repository, where the supported version of the connector is hosted. Our Akeneo teams will guide you through the installation process via your Akeneo Partner Portal and assist you in leveraging Akeneo Support for your enterprise needs.

Project management pre-requisite on the portal

The Akeneo integration app for SAP Commerce access is hosted on the Project Console of the Akeneo portal as mentioned above. Please make sure you meet the following project management prerequisites before installing:

  1. Ensure you have access to the connector within the Akeneo Portal (if you have not already done so).
  2. Create a developer profile within your organization, who will be responsible for the installation. Grant this developer access to the Project Console.
  3. Download the integration. You are all set.
 
 

Installing the connector 

Pre-requisites

Configuring your PIM API and retrieving the GraphQL Service URL

Before proceeding with the setup of the Akeneo Connector for SAP Commerce, it is imperative to generate a "client ID" and "secret" pair within your PIM to enable the API connection “connection settings”. For detailed instructions on this process, please consult our dedicated documentation.

Key Information you will need for integration configuration (security material and global configuration):

  1. Your PIM URL (ex: https://mypim.cloud.akeneo.com)
  2. Your PIM API Client ID and Secret
  3. Your PIM User dedicated to the use of the API (Username and Password).

Those are the only steps you will need to configure in the PIM.

The GraphQL Service URL will need to be configured in the security details of the Integration Suite and is https://graphql.sdk.akeneo.cloud

Downloading the connector code in SAP integration Suite

In your integration suite environment:

  1. Go into Design
  2. Integrations and APIs
  3. Click Import
  4. Select the connector app zip file from the file system. You should be able to see the iFlow package named "Akeneo Integration with SAP Commerce Cloud". This package contains all the Integration artifacts for the connector app.

Visual helper - Finding the Akeneo Integration in the Integration Suite 

 
 

Visual helper - the Akeneo integration suite artifacts

 
 

 

Installing the integration app on SAP Commerce cloud environment

 

Pre-requisite

  1. Install the Integration API in SAP Commerce Cloud:  Installing the Integration Extensions
  2. Manifest Setup. Make sure to have the following in one public endpoint (e.g.: API)
    • odata2webservices
    • authorizationserver

 

Install the extention in your SAP Commerce Cloud environment

  1. Copy the "akeneosapconnector" folder into your SAP CC "custom" folder
  2. Modify impex with your custom catalog
    • Go to "akeneosapconnector/resources/impex/akeneo-classification.impex"
    • Update the impex with your own catalog details
      • Product Catalog Name
      • Classification Catalog Name
      • Classification Catalog Version
      • ClassificationAttributeUnit
      • ClassificationClass
      • ClassificationAttribute
      • ClassAttributeAssignment
    • Note: This impex can only be run during system update to avoid errors due to catalogs not present during initialization
  3. Build and Update your system

CCv2 Portal

CCv2 is the cloud environment portal where access and deployment of SAP Commerce is controlled.

Public Endpoint Setup

If encountering Error 429: Too many requests, kindly change the WAF Rate Limit in your endpoint. See steps below:

  1. Go to CCv2 Portal
  2. Select desired environment and then select the public endpoint
  3. Find Web Application Firewall and change Rate Limit
  4. It is suggested to have lower rate limit to cater many calls in OData API
  5. See documentation here: Configuration of WAF at an Endpoint Level

 

Activate the connectivity: Security material configuration and URL

The main installation steps are done and the connectivity must now be set up. To do so you must:

  1. Configure the security materials
  2. Configure the Global configuration of the integration

Security materials

In the Integration Suite, go to 

  1. Monitor
  2. Integrations and APIs
  3. Security Material

Then in security materials, you must create the user and client credentials. There will be a total of 4 security materials to create.

User credentials: PIM, SAPCC

Two security materials to create

Parameters Content
Name Text field, suggested name “Akeneo_PIM” and “SAP_CC”
Description  
Type Single Select, select “User Credential”
Password  
Repeat password  

OAuth2 client credentials: GraphQL, SAP_CC

Parameters Content
Name Text field, suggested name “GraphQL"
Token Service URL type the URL “https://graphql.sdk.akeneo.cloud or the SAPCC Service URL
Client ID Client ID of the PIM
Client Secret Client Secret of the PIM
Client Authentification Single select, select “Send as Request Header”
Content type Single select, select “application/json”

Let empty the scope, resource and audience fields

 

 


Setting up on a pre-existing SAP Commerce

To ensure a seamless data transfer and connection between the two systems, there are crucial preparatory steps to consider before configuring your connector. These steps are vital for the success of your integration.

#Configuring Akeneo PIM Catalog Structure

When integrating Akeneo PIM with your existing SAP Commerce catalog, careful consideration of your catalog's structure is essential. The modelization of your Akeneo PIM catalog should align with your current catalog structure in SAP Commerce. If the data structure you establish in Akeneo PIM significantly deviates from your SAP Commerce setup, it can lead to challenges during data transfers and compatibility issues due to the inherent disparities between the two systems.

Conversely, deploying an Akeneo PIM instance presents an opportunity to reassess your catalog structure and enrichment workflows. However, you should be mindful that any structural changes made may impact your established Adobe Commerce catalog structure and synchronization processes with the connector.

In such cases, it may be necessary to conduct some cleaning or restructuring within Adobe Commerce before implementing the connector. These proactive steps are critical to ensuring a smooth and successful integration that maintains consistency and data integrity between Akeneo PIM and Adobe Commerce.

Initializing your Catalog Data in Akeneo PIM 

Following the setup of your new Akeneo PIM instance, the next crucial step is to import your current catalog data. This data import mostly originates from either your existing SAP Commerce or your Enterprise Resource Planning (ERP) system.

Please be aware that this process is highly specific and contingent upon the choices you've made regarding your Akeneo PIM catalog structure and internal organization.

It's important to note that the Akeneo Connector for Adobe Commerce is primarily designed to synchronize data from Akeneo to Adobe Commerce. It does not facilitate the transfer of data from Adobe Commerce to Akeneo PIM. This transfer must be independently executed, taking into account your specific catalog structure and requirements.

Before proceeding with the installation of the Akeneo Connector for Adobe Commerce on your existing Adobe Commerce platform, please consider the following.

You may be in the process of setting up a new Akeneo PIM instance and intend to connect it to your pre-existing Adobe Commerce environment. 

The installation and configuration of the Akeneo Connector for Adobe Commerce represent just one step in your overall migration process. 

When you're installing the Akeneo Connector for Adobe Commerce on an existing Adobe Commerce instance that already contains entities like products or attributes, you need to consider the differences in catalog and entity structures between Akeneo PIM and Adobe Commerce.

The connector employs a custom table (akeneo_connector_entities) to establish and store the relationships between Akeneo PIM entities and Adobe Commerce entities. These relationships are established when entities are imported using the connector.

However, if you're installing the connector on an existing Adobe Commerce instance, the relations in the Akeneo Connector's custom table may not be present. In such cases, the connector may not automatically know which Akeneo PIM entity corresponds to which Adobe Commerce entity.

Starting from version 100.3.4 of the Akeneo Connector for Adobe Commerce, it's now possible to automatically map specific entity types from Akeneo PIM to existing entities in Adobe Commerce during the initial import. The supported entity types include Attributes, Options, and Products.

Prior to synchronization in an existing Adobe Commerce environment, it's essential to back up your data and conduct testing in a non-production setting.

Here's a breakdown of each entity type and general recommendations to ensure a successful connection between your Akeneo PIM and your existing Adobe Commerce instance using the Akeneo Connector for Adobe Commerce.

Categories
Families
Attributes
Attribute options
Product models and family variants
Products

At this point, it is not possible to link existing families from Adobe Commerce to Akeneo PIM families as there is no code inside Adobe Commerce to match with the Akeneo PIM family code.

Our recommendation is to import new families from Akeneo PIM, let the product job link your products to the new families, and delete the old families.

A family (attribute set) inside Adobe Commerce can be deleted only if no products are associated to it.

#Synchronizing your Akeneo PIM data to your SAP Commerce for the first time

With your Akeneo PIM instance prepared, the connector successfully installed and configured within your Adobe Commerce environment, you are now ready to execute your first synchronization between these two systems.

However, it's essential to keep in mind that this kind of integration entails rigorous testing and comprehensive data analysis. These post-synchronization activities are crucial to ensure there are no misconfigurations or unintended side effects that could impact the smooth operation of your data transfer processes. Thorough testing and ongoing analysis are key to maintaining the integrity and efficiency of your data connection.

A production environment should not be used to test the first synchronization between Akeneo PIM and Adobe Commerce.