Introduction In this class you will be hard coding your email and password, which may be discoverable by hackers. You also need to run your account with the "less secure apps access" option as we will not be using high levels of verification. Therefor it is imperative that you do not use your normal account, and this section shows you how to set up an email account in Google and adjust the settings so your Raspberry Pi can talk to it. Setting Up Google Account The very first thing that you need to do is to obtain a new gmail account at https://www.google.com/gmail . Do not use your UALR account, or a Google Account that you use in normal transactions. You need to set up an account that is used just for this class and your Raspberry Pis, and we suggest you use the gmail address of your last name followed by IOST, PcompYourFirstName @gmail.com , as this should be easy to remember. Make sure you don’t use the password for this email account for anything else, and make it something easy to remember. If you have problems you can go to their help page, https://support.google.com/mail/answer/56256 . Adjusting your Security Settings Now you need to do some tweaks to the gmail settings. Go to your profile picture (Or a circle with initials if you didn’t add a profile picture) in the upper right corner and click “ Manage your Google Account ” (figure \(\PageIndex{1}\)). 2. Once in your account click security on the left (figure \(\PageIndex{2}\)). You will get a text message with your code, include the G- when you submit it. Now go to 2-Step Verification click continue Choose the PIN option and give the login pin for your computer Now you can see "App Passwords" at the bottom of the page, and you can generate a password to your gmail that your Raspberry Pi can use to log in. Note, Google's interface evolves over time and these screenshots will become out of date, but the functionality is the same. App Passwords For obvious reasons Google is always changing how they verify third party apps and your normal gmail loging will not work. Your UALR account will probably not work either, and you want to use a special email account for this class, as your passwords will be in the scripts of multiple programs. You will need to generate a 16 digit key, and you will need to do this for every app that you use. Note, if you change your account password all app passwords are revoked. Go to Passkeys and security keys create a passkey click more choices pin Enter your pin Go to the bottom and you will find App passwords, there youcan create a key that will let an app sign into your Google account. As of 2024/0204 the instructions for creating an app password can be found here: Sign in with app passwords , but these only work if you choose the pin option and you must have two party authentication turned on.