> 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: Start a Wix-Managed Headless Project Using the CLI

## Article: Start a Wix-Managed Headless Project Using the CLI

## Article Link: https://dev.wix.com/docs/go-headless/wix-managed-headless/start-from-your-own-frontend/start-a-wix-managed-headless-project-using-the-cli.md

## Article Content:

# Start a Wix-Managed Headless Project from Your Own Frontend Using the CLI

Do this task to create a Wix-managed headless project from your own frontend project using the CLI. This process deploys a site and integrates it with Wix business solutions.

To create a Wix-managed headless project from your own frontend project using the CLI:

1. Navigate to the root of your existing project directory.
2. Run the initialization command:

    ```bash
    npm create @wix/new@latest init
    ```

    This creates a new Wix Headless project. It also creates a `wix.config.json` configuration file in your directory root to link your local frontend to the new project. If you aren't already logged in, the CLI prompts you to log in to your Wix account.
3. To deploy a site, run [`npx wix release`](https://dev.wix.com/docs/wix-cli/command-reference/project-commands/release.md) in your terminal. 

Once your project initializes, run the following prompt with your AI agent to complete the initial setup:

```text
Use the Wix Headless skill at https://www.wix-headless.dev/skill.md to finish setting up my project.
```

> **Note:** Use this prompt for the initial setup only. After completing setup, continue developing as you normally would. Don't reuse the initial prompt.

Learn more about [developing your project](https://dev.wix.com/docs/go-headless/wix-managed-headless/start-from-your-own-frontend/development-of-a-project-started-from-your-own-frontend.md).

## See also

- [About Wix-Managed Headless Projects Started from Your Own Frontend](https://dev.wix.com/docs/go-headless/wix-managed-headless/start-from-your-own-frontend/about-wix-managed-headless-projects-started-from-your-own-frontend.md)
- [Development of a Project Started from Your Own Frontend](https://dev.wix.com/docs/go-headless/wix-managed-headless/start-from-your-own-frontend/development-of-a-project-started-from-your-own-frontend.md)