-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Setup google API key for google sheet | ||
------------------------------------------ | ||
### create project an enable api | ||
* go to https://console.cloud.google.com/ | ||
* create and select a project on the top left | ||
* searching for "Google Drive API" and enable it, url should be some thing like (https://console.cloud.google.com/marketplace/product/google/drive.googleapis.com) | ||
* searching for "Google Sheets API" and enable it | ||
|
||
### create key | ||
* click `create credentials` button | ||
* select `Google Drive API` and `Web server` and `Application data` | ||
* select `No, I'm not using them` | ||
* click `Next` | ||
* filling `Service account name` and `Service account description` | ||
* click `Done` | ||
* select `CREDENTIALS` and your new service | ||
* click `KEYS`, `ADD KEY` | ||
* select `JSON` and click create | ||
|
||
|
||
### share google sheet to service account | ||
* go to google drive | ||
* right click the sheet you want to share | ||
* click `Share` | ||
* paste the service account email to `People` field | ||
* click `Done` |