This is the continuation of integrating AEM with Magento, if the Magento is not yet installed in your local environment then I would recommend you please refer this article to set up Magento.
Before integrating Magento with AEM, you need to perform some checks, the first thing which I recommend you to check whether the graphql is working or not. Because the AEM access Magento data via GraphQL.
You can test GraphQL queries on the browser by installing the ChromeiQL extension. After plugin installation is completed then in the address bar enter your hostname by appending with graphql.
On the left-hand side enter the below JSON to check whether graphql is working or not. If everything works fine then you should see the output in the right-hand side.
The second thing is you need to enable Web API access for anonymous users. Just follow below navigation steps to enable anonymous access. By default it is disabled, if you want to access Catalog and Store APIs then you must enable it.
Store > Configuration > Services > Magento Web API > Web API Security
A technology enthusiast and a professional blogger from India. Through out my IT career, I have had the pleasure of working on various new technologies and built products like www.ziprides.com and some other products. Unfortunately, my attempts have not given me the desired results and as a result, I have finally decided to build a professional blog where I would like to share all my learnings and hoping to learn from other enthusiasts around the world.