> 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 Wix-Hosted Pages

## Article: About Wix Managed Business Flows

## Article Link: https://dev.wix.com/docs/go-headless/business-solutions/wix-hosted-pages/about-wix-hosted-pages.md

## Article Content:

# About Wix-Hosted Pages

Wix Headless provides access to business solutions like eCommerce, Bookings, and Events. For certain processes that require a user interface, such as checkout or booking a service, you can redirect visitors to Wix-hosted pages instead of building them yourself. These pre-built pages handle the specific business logic, then redirect visitors back to your site or app.

> **Note:** You can use Wix-hosted pages in both Wix-managed and self-managed headless projects.

## Available Wix-hosted pages

Each Wix-hosted page provides a complete, pre-built solution that you can use with your headless project. The following are the available types of Wix-hosted pages:

- **Booking page**: Service details and scheduling page from [Wix Bookings](https://dev.wix.com/docs/api-reference/business-solutions/bookings/introduction.md).
- **Bookings checkout**: Checkout page for booking a service from [Wix Bookings](https://dev.wix.com/docs/api-reference/business-solutions/bookings/introduction.md).
- **eCommerce checkout**: Checkout page for a shopping cart from [Wix eCommerce](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/introduction.md).
- **Events checkout**: Checkout page for event ticket purchases from [Wix Events](https://dev.wix.com/docs/api-reference/business-solutions/events/introduction.md).
- **Pricing plans checkout**: Checkout page for subscription plans from [Wix Pricing Plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/introduction.md).
- **Product page**: Product details page from [Wix Stores](https://dev.wix.com/docs/api-reference/business-solutions/stores/introduction.md).

> **Note:** Wix also hosts [member login pages](https://dev.wix.com/docs/go-headless/authentication/members/about-member-login.md). Login uses the Wix pages domain, but follows a separate authentication flow.

## Redirects in self-managed projects

When using Wix-hosted pages in [self-managed headless](https://dev.wix.com/docs/go-headless/self-managed-headless/about-self-managed-headless.md) projects, visitors transition between the external frontend domain and the [Wix pages domain](#wix-pages-domain) during the [redirect flow](#redirect-flow). 

> **Note:** In [Wix-managed headless](https://dev.wix.com/docs/go-headless/wix-managed-headless/about-wix-managed-headless.md) projects, visitors stay on the same domain for both the frontend and Wix-hosted pages.

### Redirect flow

A redirect flow transitions visitors from the external frontend domain to a Wix-hosted page and back again:

1. A visitor starts a process on the external frontend, such as starting checkout.
2. The frontend creates a redirect session and sends the visitor to the relevant Wix-hosted page.
3. When the process ends, Wix redirects the visitor back to a specified page on the external frontend.

To support this flow, configure an [allowed redirect domain](https://dev.wix.com/docs/go-headless/authentication/setup/allow-redirect-uris-and-domains.md#allowed-redirect-domains). This enables Wix to redirect visitors back to your external frontend. For detailed examples, see [Headless Redirects: Sample Flows](https://dev.wix.com/docs/api-reference/business-management/headless/redirects/sample-flows.md).

### Wix pages domain

Wix hosts your project's Wix-hosted pages as a separate website with a unique site domain. By default, that domain is a free Wix domain. This domain doesn't match your external frontend's domain.

You can [connect a custom domain](https://dev.wix.com/docs/go-headless/business-solutions/wix-hosted-pages/set-a-wix-pages-domain.md), such as a subdomain of your external frontend, to create a seamless visitor experience. This requires a premium plan.

## Implementation

You can redirect to Wix-hosted pages from your headless project using either the [JS SDK](https://dev.wix.com/docs/go-headless/business-solutions/wix-hosted-pages/redirect-using-the-js-sdk.md) or [REST API](https://dev.wix.com/docs/go-headless/business-solutions/wix-hosted-pages/redirect-using-the-rest-api.md). Both methods use [Create Redirect Session](https://dev.wix.com/docs/api-reference/business-management/headless/redirects/create-redirect-session.md) to handle the redirection process.

## See also

- [Allow Redirect URIs and Domains](https://dev.wix.com/docs/go-headless/authentication/setup/allow-redirect-uris-and-domains.md)
- [eCommerce Quick Start](https://dev.wix.com/docs/go-headless/self-managed-headless/tutorials/java-script-sdk-tutorials/e-commerce-quick-start.md)
- [Bookings Quick Start](https://dev.wix.com/docs/go-headless/self-managed-headless/tutorials/java-script-sdk-tutorials/bookings-quick-start.md)
- [Pricing Plans Quick Start](https://dev.wix.com/docs/go-headless/self-managed-headless/tutorials/java-script-sdk-tutorials/pricing-plans-quick-start.md)
- [Events Quick Start](https://dev.wix.com/docs/go-headless/self-managed-headless/tutorials/java-script-sdk-tutorials/events-quick-start.md)