Media Upload Integration
This Cloud Media Upload package is designed to simplify the development of third-party elements that require images set from the editor. This package is intended for development use only.
This guide explains how to install, initialize, and use the Media Upload library to handle file uploads. The library is distributed as an NPM package and requires authentication using a user ID provided by Brizy.
Cloud Media Upload overview:

π Installationβ
First, install the package via NPM:
npm install @brizy/cloud-media-upload
Or using Yarn:
yarn add @brizy/cloud-media-upload
π Authentication Requirementsβ
Before initializing the upload module, you must obtain a valid clientId from Brizy. This ID is used for identifying the client during media operations.
Please contact your platform administrator or integration team to request your unique userID.
π§© Initializationβ
Once you have your clientId, you can initialize the media upload handler.
import { MediaUpload } from "@brizy/cloud-media-upload";
const mediaUpload = new MediaUpload({ clientId: clientID });