Sc logo 200 82dca8e38df3c66e1aa37fa4faf47d75be44a391136e3e0d48ebdf099fe31a0e

Google drive authorisation

If you want a script or bot to have access to your Google Drive account, follow these steps:

 

  1. Go to the credentials page in the Google Developer Console.

Screen Shot 2017-03-16 at 23.21.59.png

  1. Click on the “create a project” button.

  2. Enter the details below and click create.

Screen Shot 2017-03-16 at 23.24.59.png

  1. Click on the OAuth consent screen, enter your details and click save

Screen Shot 2017-03-16 at 23.44.20.png

  1. Click "Create credentials" -> "OAuth client ID"

Screen Shot 2017-03-16 at 23.49.30.png

  1. Choose "Other" for "Application type". Enter “Scripts” for name and click create.

Screen Shot 2017-03-16 at 23.53.41.png

 

  1. Take note of the generated client ID and client secret.


 

Now we need to activate the Drive API. To do that:

  1. Go to  Google API Console and click on “Drive api”

Screen Shot 2017-03-16 at 23.59.30.png

  1. Click Enable.

Screen Shot 2017-03-17 at 00.03.35.png