How to create a service account
Step 1: After enabling the Google Drive API, on the left side bar menu navigate to CREDENTIALS.
Step 2: On credentials page, click on “CREATE CREDENTIALS” and select Service accounts.
Step 3: Give your Service Account a name, Account ID and description & then press “CREATE AND CONTINUE”.
Step 4: Grant Editor access & click on DONE.