To get an app password for Gmail, go to your Google account settings. Select Security and find ‘App passwords’ under ‘Signing in to Google.’ Follow the prompts to create a new app password.