Setup
Last updated
Last updated
GSuite Activities are used to automate google applications such as Google Sheets, Google Drive, Google Calendar, Google Docs, and Gmail.
To be able to use GSuite activities first configure our application with Google Cloud Platform.
Sign in to your Google Cloud Platform using your personal, work, or school Google GSuite account.
Click the dropdown after Google Cloud Platform.
Select an already existing project or create a new project by clicking the button new project on the top right side of the window Select a project. Create new projects using the instructions in Creating and managing projects.
Click CREATE button after entering the project name and location when you create a new project.
Open the menu on the top left of the navigation bar and select Library from APIs & Services.
Select the API (e.g.Google Drive API, Google Calendar API, Gmail API, Google Sheets API) you want to enable from Google Workspace.
Enable each APIs by clicking enable button.
There are three types of credentials.
Open the menu on the top left of the navigation bar and select Credentials from APIs & Services.
Click CREATE CREDENTIALS and select a type for credentials from opened page.
Shows the page below when selecting the OAuth client ID from the above page. Click CONFIGURE CONSENT SCREEN button. The GSuite activities request authorization for more than one scope of access from a google account. When creating a GSuite connection, Google displays a consent screen to the user including a summary of the project, policies, and requested scopes of access. scopes mean what type of user data we want to access that shows in the consent screen.
Select User Type from the OAuth consent screen and Click CREATE button. To register the application we want to give some details to the Google Cloud platform such as user type and publishing status. Also need to specify the application name, user support mail, and optional logo. App domain information such as app homepage, privacy policy, and optional terms of service. Developer contact information for notifying the changes in the project to Google.
Shows the Edit app registration page after clicking CREATE button. Enter the app information, app domain, developer contact information. Click SAVE AND CONTINUE button.
Add or remove scopes by clicking the button ADD OR REMOVE SCOPES. There are different categories of scopes non-sensitive scopes, sensitive scopes, and restricted scopes. sensitive scopes that give access to private user data. sensitive scopes require verification by Google before it is presented in the consent screen. restricted scopes that give access to highly sensitive user data.
Select the checkbox for adding the scopes you want and uncheck the checkbox for removing scopes. Click the UPDATE button to update the scopes. Click the button SAVE AND CONTINUE.
Shows a new page for adding test users. Open Add users page by clicking ADD USERS. If the publishing status is "Testing" then the application request authorization from Google account through its list of test users. if the publishing status is "In production" then the application must complete the verification for all requested sensitive and restricted scopes. user authorization will prevent if the application does not complete the verification for sensitive and restricted scopes and it will display unverified app warnings.
Enter a test user and click ADD button.
Shows the test user on the page below after clicking the add button. Click SAVE AND CONTINUE. If the publishing status is "Testing" then the application request authorization from Google account through its list of test users. if the publishing status is "In production" then the application must complete the verification for all requested sensitive and restricted scopes. user authorization will prevent if the application does not complete the verification for sensitive and restricted scopes and it will display unverified app warnings.
Shows the Summary page after clicking SAVE AND CONTINUE.
GSuite Activities works after enabling APIs and creating credentials.