> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Add a Dashboard Menu Plugin Extension in Studio Two

## Article: Add a Dashboard Menu Plugin Extension in Studio Two

## Article Link: https://dev.wix.com/docs/studio-two/code-your-site/build-a-custom-dashboard/dashboard-menu-plugins/add-a-dashboard-menu-plugin-extension-in-studio-two.md

## Article Content:

# Add a Dashboard Menu Plugin Extension in Studio Two

A [dashboard menu plugin](https://dev.wix.com/docs/studio-two/code-your-site/build-a-custom-dashboard/dashboard-menu-plugins/about-dashboard-menu-plugins.md) is an item that appears in a predefined menu slot on a [dashboard page built by Wix](https://dev.wix.com/docs/dashboard-extensions/dashboard-pages-built-by-wix/about-dashboard-pages-built-by-wix.md), typically a **More Actions** menu. When clicked, it navigates to a dashboard page or opens a dashboard modal.

Follow the instructions below to:

1. Add a dashboard menu plugin extension to your site project.
2. Customize the menu plugin.
3. Check the menu plugin in the dashboard.
4. Publish your site with the menu plugin.

> **Note:** You can also ask **Aria**, Wix's AI assistant, to create and customize the extension.

## Step 1 | Add a dashboard menu plugin

A menu plugin opens a dashboard page or modal, so have the ID of that page or modal ready. For a page or modal in your project, copy the `id` from its `.extension.ts` file. For a dashboard page built by Wix, find its ID in [Page IDs](https://dev.wix.com/docs/sdk/host-modules/dashboard/page-ids.md).

To add a dashboard menu plugin:

1. In the Studio Two editor, open the **Code** tab.
2. In the VS Code sidebar, open the **Wix Extension Builder**.

   ![the Wix Extension Builder in the VS Code activity bar](https://wixmp-833713b177cebf373f611808.wixmp.com/images/6bff2816a5bfe47ed855a1859cd89d5a.png)

3. Under **Create an Extension**, choose **Dashboard**, then **Dashboard Menu Plugin**.
4. Fill in the form:
   - **What would you like to extend?**: Choose the menu slot from the dropdown, for example `Contact main more actions menu`. The dropdown lists menu slots from Wix business solutions regardless of whether they're installed on your site. For the pages that have slots and where each slot appears, see [About Dashboard Page Slots](https://dev.wix.com/docs/dashboard-extensions/dashboard-pages-built-by-wix/page-slots/about-dashboard-page-slots.md).
   - **Choose what happens when the menu item is clicked**: Choose **Navigate to Page** or **Open Modal**.
   - **Target id**: The ID of the dashboard page or modal to open.
   - **Menu item title**: The label shown in the menu.
5. Click **Generate**.

**Generate** names the menu plugin folder after the title, in lowercase with hyphens.

You can find the new file under `src/extensions/dashboard/menu-plugins/<plugin-folder>/`. The extension is registered in your project's `extensions.ts` and listed under **My Extensions**. For the file's fields, see [Dashboard Menu Plugin Extension Files and Code](https://dev.wix.com/docs/dashboard-extensions/dashboard-menu-plugins/dashboard-menu-plugin-extension-files-and-code.md).

Check that `extends` in `<plugin-folder>.extension.ts` is the ID of the menu slot you chose. The dropdown's labels can differ from the slot names in the docs, so compare `extends` with the slot ID in the page's introduction.

## Step 2 | Customize your dashboard menu plugin

You can edit the generated file to change the label, icon, slot, or click action. When you're happy with the menu plugin, move on to the next step.

For the full workflow, from building the target modal to reading the data the slot passes, see [Build a Dashboard Menu Plugin in Studio Two](https://dev.wix.com/docs/studio-two/code-your-site/build-a-custom-dashboard/dashboard-menu-plugins/build-a-dashboard-menu-plugin-in-studio-two.md).

For example, to update the menu label:

1. Open `<plugin-folder>.extension.ts`.
2. Change the `title` value to `"Hello world!"`.
3. Save the file.

When you open the menu in its dashboard slot, the item's label shows **Hello world!**.

## Step 3 | Check the menu plugin

A dashboard menu plugin appears in a menu that belongs to a specific Wix business solution's dashboard page, so that business solution must be on the site. Contacts are on every site, so `Contact main more actions menu` is a quick slot to check with. You don't need to publish the site to check the menu plugin.

To check a menu plugin in `Contact main more actions menu`:

1. In the site dashboard, go to **Customers & Leads** > **Contacts**.
2. Hover over a contact and click **View** to open the contact's full page. Clicking the row instead opens a side panel with a different menu.
3. Refresh the page so the dashboard loads the menu item.
4. At the top of the contact's page, open the **More Actions** menu.
5. Click the menu item. It navigates to the target page or opens the target modal.

If the menu item doesn't appear, wait a moment and refresh the page again.

## Step 4 | Publish your site

When you're ready, click **Publish** in the Studio Two editor to ship the extension with your site.

## See also

- [About Dashboard Menu Plugins](https://dev.wix.com/docs/studio-two/code-your-site/build-a-custom-dashboard/dashboard-menu-plugins/about-dashboard-menu-plugins.md)
- [Build a Dashboard Menu Plugin in Studio Two](https://dev.wix.com/docs/studio-two/code-your-site/build-a-custom-dashboard/dashboard-menu-plugins/build-a-dashboard-menu-plugin-in-studio-two.md)
- [Dashboard Menu Plugin Extension Files and Code](https://dev.wix.com/docs/dashboard-extensions/dashboard-menu-plugins/dashboard-menu-plugin-extension-files-and-code.md)
- [About Studio Two Extensions](https://dev.wix.com/docs/studio-two/get-started/about-studio-two-extensions.md)
- [Dashboard Menu Plugins](https://dev.wix.com/docs/overview/extensions-framework/dashboard-extensions/dashboard-menu-plugins.md)