Wix-managed headless provides a fully managed solution for developing and hosting your headless project. Unlike self-managed headless, you don't need to configure authentication or manage hosting infrastructure.
The benefits of Wix-managed headless include:
One of the biggest advantages of Wix-managed headless is automatic authentication:
/api/auth/login and /api/auth/logout endpoints that handle the entire login flow. Just link to these endpoints and the CLI takes care of redirecting to the Wix login page, exchanging tokens, and managing the authenticated session. Learn how to implement member login.You can call Wix JavaScript SDK methods directly without setting up OAuth, creating a Wix client, or managing tokens yourself.
You can create Wix-managed headless projects using different approaches, depending on your preferred workflow.
Wix Vibe is an AI-powered tool that lets you bootstrap your entire headless project using conversational prompts. Describe what you want to build, and Vibe generates a full UI and project structure as a starting point. You can continue development entirely in the Vibe editor or open the project locally in your IDE and use the Wix CLI for ongoing development.
Use the Wix CLI to create, develop, and deploy headless projects. The CLI scaffolds your project from starter templates with automatic authentication setup and hosting configuration. You can develop entirely in your preferred IDE using standard coding practices.
Quick Start a Wix CLI Headless Project
You can combine the Wix CLI and Vibe in your development workflow, giving you the flexibility to switch between coding in your IDE and using AI-powered visual editing. This approach lets you leverage the control of CLI-based development alongside the ease of Vibe's conversational editing. Your local code remains the source of truth.
Projects started in Vibe (as described above) can always be opened locally and developed with the Wix CLI, regardless of template choice.
If you start with the CLI, you can connect your project to Vibe for AI-powered visual editing, but only if you created your project using one of the Vibe-compatible templates. Use the wix connect command to establish this connection. Projects created with standard templates cannot be connected to Vibe.