Skip to main content

NPM Installation Guide

This guide covers NPM installation for React applications. For non-React applications or simple script tag integration, see the CDN Installation Guide.

Installation Methods

The Moss SDK offers two installation methods:

Prerequisites

  • A React application (v17 or higher)
  • An active Node.js environment (v18 or higher recommended)

1. Installing the SDK

The Moss SDK is published on the public NPM registry. No authentication or .npmrc configuration is required.
or
or

2. Integration

After installation, you can integrate the SDK into your application as described in the Quickstart Guide.

Alternative: CDN Installation

If you prefer a simpler setup or don’t use React, consider the CDN Installation method:
This method requires no build tools, package managers, or React dependencies.