How to generate an app password - Gmail Community - Google Help
Create and use app passwords
- Go to your Google Account.
- On the left navigation panel, choose Security.
- On the 'Signing in to Google' panel, choose App passwords. ...
- At the bottom, choose Select app and choose the app that you're using.
- Choose Select device and choose the device that you're using.
- Choose Generate.