Web Analytics

Fill the form & Get Installation Support

How to Create Custom Admin Menu in Magento 2?

In this guide, we are going to show you how to create a custom admin menu in Magento 2.

The first step is to create a module.

Let’s give the module a name. Call it: Magemonkey_Newadminmenu

Then, create registration.php file

create module.xml file in etc/

create menu.xml file in etc/adminhtml/

Know the description for element variables in code:

id: The unique identifier for the custom admin menu
title: The title will be shown as a menu name
Module: Magemonkey_Newadminmenu (name of the current module)
sortOrder: Set custom admin menu order
resource: The rule for admin users can access the custom admin menu
Action: Link for admin controller URL
parent: Name of the parent menu which custom menu depends on sub menu

After running this command for install that module

Now It will be shown in admin menu as seen in the below image.


Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento 2 Developer

    Hire P. Garchar

    Get a Free Quote

      /* second popup */

      Connect With Us