> 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 Self-Managed Headless
## Article: Overview
## Article Link: https://dev.wix.com/docs/go-headless/develop-your-project/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/develop-your-project/about-headless-development-paths.md).
## Create a project
A Headless project is essentially a Wix site that uses Wix's business management platform without necessarily using a Wix frontend. This approach allows you to build your own custom frontend while leveraging Wix's powerful business management tools. Headless projects appear in your Wix account alongside your Wix sites, making it easy to manage all your Wix projects in one place. To get started, [create a headless project](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/create-a-project.md).
> **Note:** If you already have a Wix site, you don't need to create a new project. Instead, you can [set up a headless client](#set-up-a-headless-client-for-an-existing-site) to give connected clients access to a site's existing data and business functionality.
### Set up a headless client for an existing site
If you already have a Wix site and want to build custom frontends that use a site's data and business features, you don't need to create a new headless project. Instead, you can [set up headless clients](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/connect-a-frontend.md) programmatically or via the site dashboard. This effectively adapts a site to act as the backend for a self-managed headless project.
Follow the [authorization strategy guidelines](#authorization-strategy) so your connected clients can call Wix APIs and use a site's existing data and functionality.
## Project apps
To take advantage of business solutions, such as eCommerce, Bookings, Pricing Plans, or Events, add the apps relevant to your needs. If you didn't already do this when creating your Wix project, [add apps to your project](https://dev.wix.com/docs/go-headless/develop-your-project/project-management/add-apps-to-a-project.md) now.
## Authorization strategy
To work with Wix APIs in your Headless site or app, you need to be authorized to call APIs. The authorization strategy you should choose depends on what kind of headless site or app you are developing.
- [**Visitors and Members (OAuth)**](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-authentication.md): An external site or app for use by customers, such as anonymous visitors and logged-in members. To get started with this authorization strategy, start by [creating an OAuth app](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-authentication.md).
- [**Admin (API Key)**](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-authentication.md): An external site or app with customized administrative access to your Wix account's sites and projects. To get started with this authorization strategy, start by [generating an API key](https://dev.wix.com/docs/api-reference/articles/authentication/api-keys/generate-an-api-key.md).
In some cases, you may want to use more than 1 authorization strategy or use a number of API keys in the same site or app.
> **Note:** The authorization strategy serves 2 purposes:
>
> - Authorizes your app to call Wix APIs.
> - Directs your calls to Wix APIs to a site or project.
To learn more about authorization strategies, see [Authorization Strategies](https://dev.wix.com/docs/go-headless/develop-your-project/self-managed-headless/authentication/about-authentication.md).
## JavaScript SDK and the REST API
At this point your project is all set up and you're almost ready to start coding. Next, you need to choose how you're going to call Wix APIs.
There are 2 ways to interact with the Wix platform from the site or app you're building:
- **[JavaScript SDK](https://dev.wix.com/docs/sdk.md)**: If you're coding in JavaScript, use the JavaScript SDK to call Wix APIs.
- **[REST API](https://dev.wix.com/docs/rest.md)**: If you're not coding in JavaScript, use the REST API to call Wix APIs.
In some cases, you may want to work with both the JavaScript SDK and the REST API.
## Invite collaborators
[Invite collaborators](https://dev.wix.com/docs/go-headless/develop-your-project/project-management/invite-collaborators.md) to your project so they can view and manage your [**Headless Settings**](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Foauth-apps-settings), including creating and connecting new headless clients. This makes it easier to share responsibility across your team and streamline development.