> 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 a Site Page Extension

## Article: Add a Site Page Extension

## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/develop-a-self-managed-app/supported-extensions/site-extensions/site-widgets-and-plugins/add-a-site-page-extension.md

## Article Content:

# Add a Site Page Extension

A [site page extension](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-pages/about-site-page-extensions.md) adds a full page to the user's site.

> **Note:** This extension is added from the [App Dashboard](https://manage.wix.com/account/custom-apps), not through self-hosted app code.

<blockquote class="important">

__Important:__
A site page is structured as a series of [sections](https://support.wix.com/en/article/wix-editor-adding-and-setting-up-sections), each containing a [site widget](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-widgets/about-site-widget-extensions.md). This means that before setting up a page, your app must already have at least one widget.

</blockquote>

To create a site page extension:

1. In the [Custom Apps page](https://manage.wix.com/account/custom-apps), select an existing app that contains site widgets.
2. In the left menu, select **Develop > Extensions**.
3. Click **Create Extension** and select **Site Page**.
4. Configure the page's settings:
   * **Page name**: This name will appear in the site's Pages panel.
   * **Page ID**: The ID will be used to refer to the page in code, and will also become the default URL slug.
   * Select whether to prevent users from duplicating the page.
   * Select whether to add the page automatically to the site menu after installation.
   > **Note**: Your app can automatically add a page only to a [regular site menu](https://support.wix.com/en/article/wix-editor-adding-a-site-menu) in the Wix Editor. It cannot add a page to [advanced menus](https://support.wix.com/en/article/wix-editor-adding-and-setting-up-advanced-menus) or to [menus in Wix Studio](https://support.wix.com/en/article/studio-editor-designing-menus).
5. To define which widgets to include in the page, click **+ Add Widgets** and select any of your app's widgets. Each widget will be added to the page in its own section in the order that you defined.
   > **Note**: If you include a widget that is set as [essential to your app's functionality](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-widgets/about-site-widget-extensions.md#essential-widgets), deleting the page from a site will delete the entire app.
6. Click **Save**.