# Unable to initialize Zoom Webinar even though logged in as Host

**URL:** <https://devforum.zoom.us/t/unable-to-initialize-zoom-webinar-even-though-logged-in-as-host/87524>\
**Category:** Web\
**Created:** [April 28, 2023, 4:52am UTC](https://devforum.zoom.us/t/unable-to-initialize-zoom-webinar-even-though-logged-in-as-host/87524 "2023-04-28T04:52:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinh.pv](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@thinh.pv](https://devforum.zoom.us/u/thinh.pv)\
**Post date:** [April 28, 2023, 4:52am UTC](https://devforum.zoom.us/t/unable-to-initialize-zoom-webinar-even-though-logged-in-as-host/87524/1 "2023-04-28T04:52:11Z")

</div>

Hi All,

I’m using Component in the repo: [GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample](https://github.com/zoom/meetingsdk-web-sample)  
to launch Webinar Zoom. I have access as 1 host but I cannot start it. May I ask what am I missing?  
Thank you in advance.

Best regards,  
John.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/8/c82e00563bd2369ffa461dccbbe0d3dd8363dace.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [April 28, 2023, 7:38am UTC](https://devforum.zoom.us/t/unable-to-initialize-zoom-webinar-even-though-logged-in-as-host/87524/2 "2023-04-28T07:38:46Z")

</div>

could you share the javascript code snippet and jwt token?  
Which version of the SDK are you currently using?

---

<div class="post-metadata">

**Author:** ![thinh.pv](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@thinh.pv](https://devforum.zoom.us/u/thinh.pv)\
**Post date:** [May 4, 2023, 3:02am UTC](https://devforum.zoom.us/t/unable-to-initialize-zoom-webinar-even-though-logged-in-as-host/87524/3 "2023-05-04T03:02:44Z")

</div>

Hi @chunsiong.zoom

- Thank you for your reply.
- Currently I am using meeting sdk version 2.11.5. But I seem to be missing “ZAK” in webinar. Can you help me how to make “ZAK”?
- And I am using ClientId and ClientSecret not JWT. Or am I required to create a JWT?

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/6/5613e1f242f76d1cbf69f407d004edeb41e2ea5b.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 4, 2023, 3:41am UTC](https://devforum.zoom.us/t/unable-to-initialize-zoom-webinar-even-though-logged-in-as-host/87524/4 "2023-05-04T03:41:08Z")

</div>

So here are some thing which you need to follow to start a webinar as a host

1. Get your host’s zak token by calling the REST API. You will need a Server-to-server OAuth app type to call this API  
[https://developers.zoom.us/docs/meeting-sdk/apis/#operation/userZak](https://developers.zoom.us/docs/meeting-sdk/apis/#operation/userZak)

2. Create a **Meeting SDK App** type, if you have not already done so.

3. Use the Client ID and Client Secret in **Meeting SDK App** type to create a JWT token.  
JWT Token is **NOT** JWT App Type  
[https://developers.zoom.us/docs/meeting-sdk/auth/](https://developers.zoom.us/docs/meeting-sdk/auth/)

4. Make sure the JWT token created in step 3 has

- `role` value of `1` in your SDK signature,
- `userEmail` property,
- Webinar host’s `zak` token.  
[https://developers.zoom.us/docs/meeting-sdk/web/client-view/webinars/#start-webinar](https://developers.zoom.us/docs/meeting-sdk/web/client-view/webinars/#start-webinar)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 3, 2023, 1:41pm UTC](https://devforum.zoom.us/t/unable-to-initialize-zoom-webinar-even-though-logged-in-as-host/87524/5 "2023-06-03T13:41:29Z")

</div>

Closed on June 3, 2023, 1:41pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
