# How to generate meeting password?

**URL:** <https://devforum.zoom.us/t/how-to-generate-meeting-password/33590>\
**Category:** macOS\
**Created:** [October 18, 2020, 3:43pm UTC](https://devforum.zoom.us/t/how-to-generate-meeting-password/33590 "2020-10-18T15:43:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmiskiew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmiskiew/32/9174_2.png) [@tmiskiew](https://devforum.zoom.us/u/tmiskiew)\
**Post date:** [October 18, 2020, 3:43pm UTC](https://devforum.zoom.us/t/how-to-generate-meeting-password/33590/1 "2020-10-18T15:43:52Z")

</div>

I understand that I need to use the pre meeting service to schedule a meeting using the macOS SDK. How can I generate the password to be able to show it to the user before he submits the scheduled meeting? Is there something with the SDK that can do the job for me?

SDK Version  
[v5.2.41735.0929]

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 24, 2020, 8:56am UTC](https://devforum.zoom.us/t/how-to-generate-meeting-password/33590/2 "2020-10-24T08:56:57Z")

</div>

Hi @tmiskiew,

Thanks for the post and pardon the late response. If the “Require a passcode when scheduling new meetings” is enabled on your account on the web portal, then the SDK will help to generate the passcode

 ![Screen Shot 2020-10-24 at 1.55.01 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/3/a3187fc2ba00410157114414d106f92d1b0c6c7b.png)

You may refer to the implementation here: [https://github.com/zoom/zoom-sdk-macos/blob/master/ZoomSDKSample/ZoomSDKSample/UI%20Interface/ZoomSDKScheduleWindowCtr.m](https://github.com/zoom/zoom-sdk-macos/blob/master/ZoomSDKSample/ZoomSDKSample/UI%20Interface/ZoomSDKScheduleWindowCtr.m)

Thanks!
