Integrate AEM with Magento – 1

Posted in AEM Tutorials By Raj On August 16, 2019


I am going to publish a series of articles on integrating AEM with Magento, in this series the first thing which I am going to cover is the installation of Magento. I have used Installatron to install Magento in my server,  but when it comes to local environments you need to follow different steps. In this article, I am going to cover how to install Magento in the local environment, not on the server.

I am going to use XAMPP Control Panel which is an easy to install Apache, PHP, PHPMyAdmin, and MySQL. Based on your convenience you can either use XAMPP or you can install one by one.

Use this link to download XAMPP Control Panel.  In the extracted folder just click on the “xampp-control” application file to start control panel. The interface of the control panel looks like below and by default it comes with a set of software’s which you can start and stop by using action buttons.


Step 1: MySQL

The Magento uses a MySQL database to store information. But it also compatible with other databases such as MariaDB 10.0, 10.1, 10.2, Percona 5.7.  If you are using XAMPP panel then you just need to go and click on the start button which is next to MySQL

Step 2: Install Apache

To setup Apache, you just need to go and click the start button which is beside the Apache.

Step 3: Magento installation

Download Magento by using below link and extract it using any software something like WinZip or WinRar. Finally, copy the extracted Magento folder and place it into the XAMPP -> htdocs folder.

For begineers I recommend you to install Magento with Sample data package

Now open the browser and enter http://localhost/magento/setup to start the installation. You should see the Agreement screen, just click on the “Agree & Setup Magento” button

You need to do the readiness check, this will validate your local environment for the correct php version and extensions, etc.



If it finds any issues then it will report an error. You need to fix and restart the XAMPP server. generally, you will see issues on missing extensions of PHP  


After restarting XAMPP server, do the readiness check once again until you see the green check mark.


Next, you need to provide configurations of your database, the database name is the name which you created using phpmyadmin. Here it is “magento”


Now, change the admin URL to something else which you feel you can remember easily.


Next, create an admin account and click on the next button to install Magento.


Finally, you should see the success message. 



Now, open browser and enter “http://localhost/magento” then press on enter button, you should see the below screen. If you dont install sample data then you will not see products information.

In my next article, you will see how to test GrpahQL using chrome extension before integrating with AEM.