> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> 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`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - 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 Dashboard Menu Plugin Extensions with the Wix CLI

## Article: Add Dashboard Menu Plugin Extensions with the Wix CLI

## Article Link: https://dev.wix.com/docs/go-headless/wix-managed-headless/full-integration-astro/extensions/dashboard/dashboard-menu-plugins/add-dashboard-menu-plugin-extensions-with-the-wix-cli.md

## Article Content:

# Add Dashboard Menu Plugin Extensions with the Wix CLI

[Dashboard menu plugin extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/dashboard-menu-plugins/dashboard-menu-plugin-extensions.md) add menu items into [pre-configured slots in dashboard pages](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/about-dashboard-page-slots.md) of apps made by Wix in your project. When clicked, it either displays a dashboard modal or directs the project administrator to another dashboard page.

Follow the instructions below to:

1. Create and configure a dashboard menu plugin extension for your project.
2. Customize your dashboard menu plugin.

Once this task is complete, the dashboard menu you specified in the installation process contains the item you added.

## Step 1 | Create the extension

In your project directory, run the [generate](https://dev.wix.com/docs/wix-cli/cli-for-headless/command-reference/project-commands/generate.md) command and follow the prompts to create a dashboard menu plugin extension.

Upon completion, the CLI creates the extension files in your project directory with the following structure:

```bash
src/
  └── extensions  
      └── dashboard/
          └── menu-plugins/
              └── <your-menu-plugin-folder-name>/
                  └── <your-menu-plugin-name>.extension.ts
```

> **Note:** This is the default folder structure created by the CLI. You can move these files to any location in the `src/` folder and update the references in your `extensions.ts` file. Learn more about the [flexible file system](https://dev.wix.com/docs/wix-cli/cli-for-headless/project-structure/folders-and-files/src-extensions.md).

Learn more about the [dashboard menu plugin extension files](https://dev.wix.com/docs/go-headless/wix-managed-headless/full-integration-astro/extensions/dashboard/dashboard-menu-plugins/dashboard-menu-plugin-extension-files-and-code.md).

## Step 2 | Customize your dashboard plugin

1. Run the [dev](https://dev.wix.com/docs/wix-cli/cli-for-headless/command-reference/project-commands/dev.md) command to open the dev menu.

1. Click the link to open the dashboard in the browser. Navigate to the dashboard page hosting your menu plugin.

2. Go to your `.extension.ts` file and edit the `title` to "Hello world!".

  ```ts
  
  export default extensions.dashboardMenuPlugin({
    id: '1a096bd2-df15-41af-9db1-a037e0c89a68',
    title: 'My Menu Plugin',
    extends: 'b2af2156-d82c-4d6c-9961-cf1cec053566',
    iconKey: 'Sparkles',
    action: {
      navigateToPage: {
        pageId: '695fbcfe-ad2e-4b09-b6e5-6bbed53eaf21',
      }
    },
  });
  
  ```
 
1. Save your file.

1. Navigate back to the dashboard page in your browser and see your changes.

## Build and deploy your project

Once your project is ready for production, you can [build and deploy](https://dev.wix.com/docs/go-headless/wix-managed-headless/full-integration-astro/development/build-and-deploy-with-the-cli.md) it.

## Delete a dashboard menu plugin

To delete an existing dashboard menu plugin from your project:

1. Delete the folder that contains your dashboard menu plugin extension's file.
2. Remove the import and `.use()` statements for the extension from the [`extensions.ts`](https://dev.wix.com/docs/go-headless/wix-managed-headless/full-integration-astro/extensions/about-the-extensions-ts-file.md) file.

<blockquote class="important">

**Important:**

If you've already released a version of your project, you must build and deploy the project again after removing the dashboard menu plugin file.

</blockquote>

## See also
- [Dashboard Menu Plugin Extension Files and Code](https://dev.wix.com/docs/go-headless/wix-managed-headless/full-integration-astro/extensions/dashboard/dashboard-menu-plugins/dashboard-menu-plugin-extension-files-and-code.md)
- [About Dashboard Menu Plugin Extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/dashboard-menu-plugins/dashboard-menu-plugin-extensions.md)
- [About Dashboard Page Slots](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/about-dashboard-page-slots.md)