Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

3rd-Party GraphQL integration with AEM Commerce and CIF on Adobe I/O Runtime | AEM Community Blog Seeding

kautuk_sahni
Community Manager
Community Manager

BlogImage.jpg

3rd-Party GraphQL integration with AEM Commerce and CIF on Adobe I/O Runtime by Adobe Docs

Abstract

Working on 3rd-party integration requires that you are absolutely familiar with the following pre-requisites.

GraphQL: how schemas are defined, what resolvers are and how to write resolvers
GraphQL basics: https://graphql.org/learn/
GraphQL schema: https://graphql.org/learn/schema/
GraphQL resolvers: https://graphql.org/learn/execution/
Adobe I/O Runtime: how to write, deploy, and get the logs of actions
Read the developer documentation
Check the public developer forum
Make sure you also get used to schema introspection, and how to write and test GraphQL queries
GraphQL introspection: https://graphql.org/learn/introspection/
Tools: install the ChromeiQL/GraphiQL extension for the Chrome browser
Get familiar with the Magento GraphQL schema and the types of queries you can make
Magento GraphQL documentation: https://devdocs.magento.com/guides/v2.4/graphql/index.html
You can also read our Medium article to get an overall description of the design of the 3rd-party GraphQL integration with AEM Commerce.

Expectations (please read this!)
This repository provides a reference implementation example that can be used as a starting point to develop a real integration. This is NOT a complete implementation that supports all the GraphQL queries of the CIF components and connector. Do not expect that it will work OOTB with all the CIF components: there is no point that we implement a full example mock implementation, this is just demonstrating how one should/can develop a real integration.

Very important: in order to help a developer, identify what GraphQL queries are sent by the CIF components and connector, this repository also contains a "pruned" Magento schema that only contains the fields being queried by the CIF components and connector. This schema hence represents the fields of the Magento schema that must be implemented by a real integration to fully support all the CIF GraphQL queries. Make sure you read this documentation.

Introduction
The AEM CIF Core Components together with the AEM CIF Add-On offer authoring and frontend integration between AEM (Adobe Experience Manager) and Adobe Commerce. This integration is based on the Magento GraphQL API which offers a very flexible and efficient integration point between AEM and Adobe Commerce.

CIF itself is designed to be open for other commerce solutions as well. In order to support other 3rd-party "non-Adobe" commerce platforms, this project implements an example "reference" implementation that demonstrates how a 3rd-party commerce platform can be integrated with the CIF GraphQL connector and the AEM CIF Core Components via the Magento GraphQL API. Note that the integration is currently based on the GraphQL API of Magento 2.4.2.

Read Full Blog

3rd-Party GraphQL integration with AEM Commerce and CIF on Adobe I/O Runtime

Q&A

Please use this thread to ask the related questions.

0 Replies