> 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: About Extensions ## Article: About App Extensions in the Wix CLI ## Article Link: https://dev.wix.com/docs/wix-cli/guides/extensions/about-extensions.md ## Article Content: # About Extensions in the Wix CLI The Wix CLI allows you to easily extend your project's functionality with [extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/about-extensions.md). For example, with extensions you can add custom dashboard pages or implement backend logic to handle events. The Wix CLI supports multiple [extension types](#supported-extension-types) depending on the type of project you create. The creation and setup process for extensions in the CLI takes place in the terminal. Then, to edit your extensions, you write code directly in your project's local files. > **Note:** When you add an extension to a headless project, the CLI adds it to your project's [private Wix app](https://dev.wix.com/docs/wix-cli/guides/about-the-wix-cli.md#private-apps). ## Adding extensions You can add extensions to your project using the [generate](https://dev.wix.com/docs/wix-cli/command-reference/project-commands/generate.md) command. This command starts a process that guides you through adding an extension to your project. After selecting an extension, you'll be prompted for the relevant configuration details. Your extension will then be generated in your project's local files under `src/extensions/`. If you want to move your extension files in your project, make sure the new path is specified in the `extension.ts` file. Learn more [about the `extension.ts` file](https://dev.wix.com/docs/wix-cli/guides/extensions/about-the-extensions-ts-file.md).
__Important:__ Some extensions require you to run [`release`](https://dev.wix.com/docs/wix-cli/command-reference/project-commands/release.md) to create an app version before they work. The [`preview`](https://dev.wix.com/docs/wix-cli/command-reference/project-commands/preview.md) command uploads your code but doesn't register all extensions in your app's configuration, so extensions like embedded scripts, site widgets, and site plugins can't be tested through `preview` alone.## Supported extension types The Wix CLI currently supports the following extensions: ### Dashboard extensions - [Dashboard pages](https://dev.wix.com/docs/wix-cli/guides/extensions/dashboard-extensions/dashboard-pages/add-dashboard-page-extensions.md) - [Dashboard plugins](https://dev.wix.com/docs/wix-cli/guides/extensions/dashboard-extensions/dashboard-plugins/add-dashboard-plugin-extensions.md) - [Dashboard menu plugins](https://dev.wix.com/docs/wix-cli/guides/extensions/dashboard-extensions/dashboard-menu-plugins/add-dashboard-menu-plugin-extensions.md) - [Dashboard modals](https://dev.wix.com/docs/wix-cli/guides/extensions/dashboard-extensions/dashboard-modals/add-dashboard-modal-extensions.md) ### Backend extensions - [Events](https://dev.wix.com/docs/wix-cli/guides/extensions/backend-extensions/events/add-event-extensions.md) - [Service plugins](https://dev.wix.com/docs/wix-cli/guides/extensions/backend-extensions/service-plugins/add-service-plugin-extensions.md) - [Data Collections](https://dev.wix.com/docs/wix-cli/guides/extensions/backend-extensions/data-collections/add-data-collections-extension-with-the-wix-cli.md) #### HTTP endpoints Wix CLI projects support [HTTP endpoints](https://dev.wix.com/docs/wix-cli/guides/development/http-endpoints/about-http-endpoints.md) for backend API development. > **Note:** HTTP endpoints replace [HTTP functions](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/supported-extensions/backend-extensions/api/http-functions/add-http-function-extensions-with-the-cli.md) from the previous Wix CLI for Apps. ### Site extensions > **Note:** Site extensions in the CLI are only relevant for app projects. - [Embedded scripts](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/embedded-scripts/about-embedded-scripts.md) - [Site widgets](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/custom-elements/add-a-custom-element-extension.md) - [Site plugins](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/site-plugins/add-a-site-plugin-extension.md) ## Data collection extension The [data collections extension](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/data-collections/about-data-collections-extensions.md) allows your app to automatically create CMS data collections when it's installed on a site. Use the data collections extension whenever your app needs to store or manage structured data on a site, such as app settings, content, analytics, or user-generated content. You can [add a data collections extension in the app dashboard](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/data-collections/add-a-data-collections-extension-in-the-app-dashboard.md) or [with the CLI](https://dev.wix.com/docs/wix-cli/guides/extensions/backend-extensions/data-collections/add-a-data-collections-extension-with-the-wix-cli.md). ## See also - [About the Wix CLI](https://dev.wix.com/docs/wix-cli/guides/about-the-wix-cli.md) - [Map your functionality to Wix's extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/map-your-app-s-functionality-to-wix-s-extensions.md) - [About the extensions.ts File](https://dev.wix.com/docs/wix-cli/guides/extensions/about-the-extensions-ts-file.md)