Get started

View as Markdown

Starting with version 6.10.0, the Meeting SDK for Web ships an ESM build alongside the existing UMD build. If your project uses a bundler (Vite, Webpack, and similar) or targets environments that support native ES module imports, you can now import the SDK directly with import instead of loading it through <script> tags and globals. The package exports map handles build selection automatically. ESM imports resolve to the ESM build, and CommonJS require() calls continue to resolve to the UMD build, so existing integrations are unaffected.

See Install the Meeting SDK for Web as ES Modules (ESM) to get started.

Install the Meeting SDK for Web as UMD

Install the Meeting SDK for web as Universal Module Definition (UMD) via npm or the Meeting SDK CDN.

Install from npm

To install the Meeting SDK via npm , in your project, run the following command in terminal:

npm install @zoom/meetingsdk --save

Install from CDN

To install the Meeting SDK via CDN, add the following scripts to the HTML page you want the Meeting SDK to live on, or index.html if you are using a single page app framework:

Use of this SDK is subject to our Terms of Service .

<!-- Dependencies for client view and component view -->
<script src="https://source.zoom.us/{VERSION_NUMBER}/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/{VERSION_NUMBER}/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/{VERSION_NUMBER}/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/{VERSION_NUMBER}/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/{VERSION_NUMBER}/lib/vendor/react-redux.min.js"></script>
<script src="https://source.zoom.us/{VERSION_NUMBER}/lib/vendor/lodash.min.js"></script>

<!-- Choose between the client view or component view: -->

<!-- CDN for client view -->
<script src="https://source.zoom.us/zoom-meeting-{VERSION_NUMBER}.min.js"></script>

<!-- CDN for component view -->
<script src="https://source.zoom.us/zoom-meeting-embedded-{VERSION_NUMBER}.min.js"></script>

Install the Meeting SDK for Web as ES Modules (ESM)

Supported in version 6.10.0 and later.

The SDK ships an ESM build next to the UMD build. Follow these instructions to install it.

Install from npm

Run the following command in your project terminal. React 18 is a peer dependency; install it if your project does not already include it:

npm install @zoom/meetingsdk react react-dom --save

The package exports map selects the correct build automatically. Bundlers and native ESM imports (import) receive the ESM build; CommonJS require() calls receive the UMD build.

Client view

import { ZoomMtg } from '@zoom/meetingsdk';

Component view

import ZoomMtgEmbedded from '@zoom/meetingsdk/embedded';

Notes for bundlers

Notes for bundlers such as Vite, Webpack, and others.

  • Let the bundler resolve react and react-dom from node_modules. Do not alias them to window.React or window.ReactDOM, and do not add vendor <script> tags for them. Those steps are only required for the UMD build.
  • Do not alias the SDK to its UMD file, unless you are intentionally testing the UMD path, as doing so would bypass the exports map and load the wrong build for your environment.

Install from CDN

The ESM build does not use the six lib/vendor/*.min.js script tags from the UMD instructions (react, react-dom, redux, redux-thunk, react-redux, lodash). Those are UMD scripts and are incompatible with ESM import statements. Instead, use React's react, react-dom and react-dom/client entry points with an import map, as showin in the following example.

Add this to the HTML page that hosts the SDK, or to index.html for a single page app. Replace {VERSION_NUMBER} with the version in #.#.# format (for example 6.10.0):

<!-- Where the browser finds React (must come before any module script) -->
<script type="importmap">
    {
        "imports": {
            "react": "https://esm.sh/react@18.3.1",
            "react-dom": "https://esm.sh/react-dom@18.3.1?deps=react@18.3.1",
            "react-dom/client": "https://esm.sh/react-dom@18.3.1/client?deps=react@18.3.1"
        }
    }
</script>

<!-- Choose between the client view or component view: -->

<!-- ESM for client view -->
<script type="module">
    import { ZoomMtg } from 'https://source.zoom.us/{VERSION_NUMBER}/esm/client-view.es.min.js';
    window.ZoomMtg = ZoomMtg;
</script>

<!-- ESM for component view -->
<script type="module">
    import ZoomMtgEmbedded from 'https://source.zoom.us/{VERSION_NUMBER}/esm/component-view.es.min.js';
    window.ZoomMtgEmbedded = ZoomMtgEmbedded;
</script>

<!-- Your own code that uses ZoomMtg or ZoomMtgEmbedded. Include only one of the two previous SDK blocks (client view OR component view), then load your app: -->
<script defer src="./your-app.js"></script>

Use UTF-8 encoding

Add <meta charset="UTF-8" /> to your web app's entry point (index.html) to ensure the browser uses UTF-8. Without it, the browser might default to a different encoding, which can prevent users from accessing media features and trigger console errors immediately after a session is joined.

Content Security Policy header

See Content Security Policy header for additional configuration requirements if you use this header.

Next steps

Now that you've installed the Meeting SDK for web into your project, import either the client view or component view and start building!