> 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: About Self-Managed Headless

## Article: Overview

## Article Link: https://dev.wix.com/docs/go-headless/self-managed-headless/about-self-managed-headless.md

## Article Content:

# About Self-Managed Headless

Self-managed headless lets you build your frontend with any framework and connect it to Wix's backend using the JavaScript SDK or REST API. You handle configuration, authentication, and hosting yourself.

This approach is relevant for integrating Wix business solutions into existing sites, using non-standard frameworks, or building highly customized solutions.

> **Note:** For a simplified setup with managed hosting and authentication, see [Wix-managed headless](https://dev.wix.com/docs/go-headless/wix-managed-headless/about-wix-managed-headless.md).

<div style="text-align:center">
<iframe width="560" height="315" src="https://youtube.com/embed/RCnvFtu5UXc" title="Wix Headless Series - Part 1 - Getting Started" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

## How it works

A headless project is a Wix site that uses Wix's business management platform without necessarily using a Wix frontend. It appears in your Wix account alongside your sites, so you can manage everything in one place. There are 2 ways to start:

- **New project**: [Create a headless project](https://dev.wix.com/docs/go-headless/self-managed-headless/get-started/create-a-self-managed-headless-project.md), then connect your frontend to it.
- **Existing Wix site**: You don't need a new project. [Set up a headless client](https://dev.wix.com/docs/go-headless/authentication/setup/set-up-a-headless-client.md) to turn your existing site into the backend for one or more custom frontends. To replace the editor-built frontend with a frontend that Wix hosts, see [Moving Your Site to a Custom Frontend](https://support.wix.com/en/article/wix-headless-moving-your-site-to-a-custom-frontend).

## Authorization

To call Wix APIs, your frontend (a "client") must be authorized. The strategy you choose depends on what you're building:

- **Visitors and Members (OAuth)**: For a site or app used by customers, such as anonymous visitors and logged-in members.
- **Admin (API key)**: For a project with customized administrative access to your Wix account's sites and projects.

You can use more than one strategy in the same project. To learn more, see [Authorization Strategies](https://dev.wix.com/docs/go-headless/authentication/about-authentication.md).

## Calling Wix APIs

There are 2 ways to interact with the Wix platform from your frontend:

- **[JavaScript SDK](https://dev.wix.com/docs/sdk.md)**: If you're coding in JavaScript.
- **[REST API](https://dev.wix.com/docs/rest.md)**: If you're not coding in JavaScript.

In some cases, you may want to use both.

## See also

- [Moving Your Site to a Custom Frontend](https://support.wix.com/en/article/wix-headless-moving-your-site-to-a-custom-frontend)
- [Create a Self-Managed Headless Project](https://dev.wix.com/docs/go-headless/self-managed-headless/get-started/create-a-self-managed-headless-project.md)
- [Set Up a Headless Client](https://dev.wix.com/docs/go-headless/authentication/setup/set-up-a-headless-client.md)
- [Authorization Strategies](https://dev.wix.com/docs/go-headless/authentication/about-authentication.md)
- [Invite collaborators](https://dev.wix.com/docs/go-headless/project-management/invite-collaborators.md)