Creating a Google Cloud Project allows the local Python server to interact with files in Google Drive. Google Cloud Projects can be created under a personal account or linked to an organization.
-
Go to the Google Cloud Console and log in.
-
Create a new project and select an organization if desired.
-
Go to the navigation menu in the upper left (three lines), then "APIs & Services" > "Library".
-
Search for the "Google Drive API" and click "Enable". Repeat for the "Google Sheets API".
-
Go to "APIs & Services" > "Credentials". Click "Create Credentials" > "Service account". Configure the account and click "Done".
-
Select the new service account. Save the email address somewhere accessible.
-
Click "Keys" > "Add Key" > "Create new key" > "JSON" > "Create". A JSON file will be downloaded to your computer. These credentials will be used when setting up the server.