About Core Modules

Core modules in the Wix JavaScript SDK provide fundamental building blocks for interacting with the Wix platform. These modules are essential for authentication, client setup, and common platform functionalities that span across different development environments.

The following modules are included:

  • sdk: The main module for authentication and communication with the Wix platform, providing client creation and management.
  • essentials: Common platform functionality including authentication, HTTP client helpers, and internationalization support.
  • web-methods: Utilities for making specific HTTP requests from a site's frontend to a site's backend.

Core modules are intended for:

  • Headless development: Required for explicit client setup and authentication in self-hosted environments for headless sites and apps.
  • Self-hosted Wix app development: Necessary when making authenticated API calls from external environments.
  • Site development and Wix-hosted app development: Provides essential utilities including auth for elevated permissions and httpClient for authenticated requests, even in Wix-hosted environments.
  • Multilingual applications: Offers locale and language support for creating applications that work in multiple languages.
Did this help?