.

A Complete Guide to Authorize GAS Project: Guide 001

Introduction

If this is your first time to try Google Apps Script in your project, or to use a script provided by someone else. You can follow this guide to complete the authorization for the first time or any update later in the script which requires new scopes or Google APIs which need your permission to run.

Step 1

If you see this popup in any Google Workspace app like Google Sheets, Docs, Slides, etc. You can start the authorization process by clicking the button ā€œReview permissionā€. Make sure you trust the developer if the script was not created by yourself, or click the button ā€œCancelā€ to stop it for your data safety.

Step 2

Double check the app to make sure you are aware of the risk, select the account to continue (you may have multiple accounts).

Step 3

For the app which hasnā€™t been verified by Google, you will see this alert. For your own project or a script created by others, this is what youā€™ll see. Click on the link ā€œAdvancedā€ to continue.

Step 4

After you click the ā€œAdvancedā€ link, youā€™ll see another link to bring you to the scope review page. Click on the link to continue even if it says unsafe (This is an alert from Google since the App hasnā€™t been verified by them).

Sometimes, this link may bring you to your Google Account profile page (could be a bug from Google side). In this case, clicking the ā€œGo Backā€ button in your browser will bring you to the previous page. Wait for a few seconds to try the link again until you see the scope review page in the next step.

Step 5

Review the scope list (this list will be different from project to project), if there is no question with it click the button ā€œAllowā€ to complete the whole authorization process.

GoogleAppsScript Playlist

LiveCoding Playlist

OneScript Playlist


Chalkline Playlist

RoadTripPhotography Playlist


OnTheRoad Playlist

Links

Github(@ashtonfei) 

YouTube(@ashtonfei) 

Twitter (@ashton_fei) 

Instagram (@ashton.fei) 

Upwork (work with me) 

OneScript (my website)

YouTube(@ashtontheroad) 

Comments