zoom/meetingsdk-angular-sample

Use the Zoom Meeting SDK in Angular

59

stars

25

commits

TypeScript

primary language

Feb 27, 2026

updated

sample-app
Browse cluster: Zoom Video SDK Web Samples

README

Zoom Meeting SDK Angular sample

Use of this sample app is subject to our Terms of Use.

This repo is an Angular app generated via the Angular CLI that uses the Zoom Meeting SDK to start and join Zoom meetings and webinars.

Zoom Meeting SDK Client View

Installation

To get started, clone the repo:

$ git clone https://github.com/zoom/meetingsdk-angular-sample.git

To setup and run the app you will need the Angular CLI.

Setup

  1. Once cloned, navigate to the meetingsdk-angular-sample directory:

    $ cd meetingsdk-angular-sample

  2. Then install the dependencies:

    $ npm install

  3. Open the meetingsdk-angular-sample directory in your code editor.

  4. Open the src/app/app.component.ts file, and enter values for the variables:

    NEW: To use the Component View, replace app.component.ts with app-new.component.ts. (The leaveUrl is not needed). Also, remove the Client View CSS styles on lines 27 and 28 in in angular.json.

    VariableDescription
    authEndpointRequired, your Meeting SDK auth endpoint that securely generates a Meeting SDK JWT. Get a Meeting SDK auth endpoint here.
    meetingNumberRequired, the Zoom Meeting or webinar number.
    passWordOptional, meeting password. Leave as empty string if the meeting does not require a password.
    roleRequired, 0 to specify participant, 1 to specify host.
    userNameRequired, a name for the user joining / starting the meeting / webinar.
    userEmailRequired for Webinar, optional for Meeting, required for meeting and webinar if registration is required. The email of the user starting or joining the meeting / webinar.
    registrantTokenRequired if your meeting or webinar requires registration.
    zakTokenRequired to start meetings or webinars on external Zoom user's behalf, the authorized Zoom user's ZAK token. The ZAK can also be used to join as an authenticated participant.
    leaveUrlRequired for Client View, the url the user is taken to once the meeting is over.

    Example:

    authEndpoint = 'http://localhost:4000'
    meetingNumber = '123456789'
    passWord = ''
    role = 0
    userName = 'Angular'
    userEmail = ''
    registrantToken = ''
    zakToken = ''
    leaveUrl = 'http://localhost:4200'
    
  5. Save app.component.ts.

  6. Run the app:

    $ ng serve --open

Usage

  1. Navigate to http://localhost:4200 and click "Join Meeting".

    Client View

    Zoom Meeting SDK Client View

    Component View

    Zoom Meeting SDK Component View

Learn more about Gallery View requirements and see more product screenshots.

Deployment

The Angular Sample App can be easily deployed to GitHub Pages, or another static web hosting service, like an AWS S3 bucket.

GitHub Pages

  1. Create a repo on GitHub.

  2. Add the remote to your project:

    $ git remote add origin GITHUB_URL/GITHUB_USERNAME/GITHUB_REPO_NAME.git

  3. Open the angular.json file and replace the value for "baseHref" with your GitHub repo name surrounded by slashes like this: /GITHUB_REPO_NAME/. Example: "baseHref": "/GITHUB_REPO_NAME/"

  4. Build your project:

    $ ng build --prod

  5. Git add, commit, and push your project:

    $ git add -A

    $ git commit -m "deploying to github"

    $ git push origin master

  6. On GitHub, in your repo, navigate to the "settings" page, scroll down to the "GitHub Pages" section, and choose the "master branch /docs folder" for the source.

  7. Now your project will be deployed to https://GITHUB_USERNAME.github.io/GITHUB_REPO_NAME.

Other Static Web Hosting

  1. Build your project:

    $ ng build --prod

  2. Deploy the complied /docs directory to a static web hosting service, like an AWS S3 bucket.

Advanced Deployment

For more advanced instructions on deployment, see the Angular Deployment docs.

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.

Contributors

tommygaessler

11 commits

MaxMansfield

9 commits

ylkjick532428

5 commits

zoom/meetingsdk-angular-sample

Use the Zoom Meeting SDK in Angular

59

stars

25

commits

TypeScript

primary language

Feb 27, 2026

updated

sample-app
Browse cluster: Zoom Video SDK Web Samples

README

Zoom Meeting SDK Angular sample

Use of this sample app is subject to our Terms of Use.

This repo is an Angular app generated via the Angular CLI that uses the Zoom Meeting SDK to start and join Zoom meetings and webinars.

Zoom Meeting SDK Client View

Installation

To get started, clone the repo:

$ git clone https://github.com/zoom/meetingsdk-angular-sample.git

To setup and run the app you will need the Angular CLI.

Setup

  1. Once cloned, navigate to the meetingsdk-angular-sample directory:

    $ cd meetingsdk-angular-sample

  2. Then install the dependencies:

    $ npm install

  3. Open the meetingsdk-angular-sample directory in your code editor.

  4. Open the src/app/app.component.ts file, and enter values for the variables:

    NEW: To use the Component View, replace app.component.ts with app-new.component.ts. (The leaveUrl is not needed). Also, remove the Client View CSS styles on lines 27 and 28 in in angular.json.

    VariableDescription
    authEndpointRequired, your Meeting SDK auth endpoint that securely generates a Meeting SDK JWT. Get a Meeting SDK auth endpoint here.
    meetingNumberRequired, the Zoom Meeting or webinar number.
    passWordOptional, meeting password. Leave as empty string if the meeting does not require a password.
    roleRequired, 0 to specify participant, 1 to specify host.
    userNameRequired, a name for the user joining / starting the meeting / webinar.
    userEmailRequired for Webinar, optional for Meeting, required for meeting and webinar if registration is required. The email of the user starting or joining the meeting / webinar.
    registrantTokenRequired if your meeting or webinar requires registration.
    zakTokenRequired to start meetings or webinars on external Zoom user's behalf, the authorized Zoom user's ZAK token. The ZAK can also be used to join as an authenticated participant.
    leaveUrlRequired for Client View, the url the user is taken to once the meeting is over.

    Example:

    authEndpoint = 'http://localhost:4000'
    meetingNumber = '123456789'
    passWord = ''
    role = 0
    userName = 'Angular'
    userEmail = ''
    registrantToken = ''
    zakToken = ''
    leaveUrl = 'http://localhost:4200'
    
  5. Save app.component.ts.

  6. Run the app:

    $ ng serve --open

Usage

  1. Navigate to http://localhost:4200 and click "Join Meeting".

    Client View

    Zoom Meeting SDK Client View

    Component View

    Zoom Meeting SDK Component View

Learn more about Gallery View requirements and see more product screenshots.

Deployment

The Angular Sample App can be easily deployed to GitHub Pages, or another static web hosting service, like an AWS S3 bucket.

GitHub Pages

  1. Create a repo on GitHub.

  2. Add the remote to your project:

    $ git remote add origin GITHUB_URL/GITHUB_USERNAME/GITHUB_REPO_NAME.git

  3. Open the angular.json file and replace the value for "baseHref" with your GitHub repo name surrounded by slashes like this: /GITHUB_REPO_NAME/. Example: "baseHref": "/GITHUB_REPO_NAME/"

  4. Build your project:

    $ ng build --prod

  5. Git add, commit, and push your project:

    $ git add -A

    $ git commit -m "deploying to github"

    $ git push origin master

  6. On GitHub, in your repo, navigate to the "settings" page, scroll down to the "GitHub Pages" section, and choose the "master branch /docs folder" for the source.

  7. Now your project will be deployed to https://GITHUB_USERNAME.github.io/GITHUB_REPO_NAME.

Other Static Web Hosting

  1. Build your project:

    $ ng build --prod

  2. Deploy the complied /docs directory to a static web hosting service, like an AWS S3 bucket.

Advanced Deployment

For more advanced instructions on deployment, see the Angular Deployment docs.

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.

Contributors

tommygaessler

11 commits

MaxMansfield

9 commits

ylkjick532428

5 commits

Languages

TypeScript

80.1%

CSS

10.7%

HTML

9.2%