You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/how_to/gsheets_setup.md
+9-1
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,18 @@ To do this, you can either:
15
15
* a) follow the steps in [this guide](https://gspread.readthedocs.io/en/latest/oauth2.html) all the way up until step 8. You should have downloaded a file called `service_account.json` and should save it in the `secrets/` folder
16
16
* b) run the following script to automatically generate the file:
This uses gcloud to create a new project, a new user and downloads the service account automatically for you. The service account file will have the name `service_account-XXXXXXX.json` where XXXXXXX is a random 16 letter/digit string for the project created.
21
21
22
+
```{note}
23
+
To save the generated file to a different folder, pass an argument as follows:
Once you've downloaded the file, you can save it to `secrets/service_account.json` (the default name), or to another file and then change the location in the settings (see step 4).
23
31
24
32
Also make sure to **note down** the email address for this service account. You'll need that for step 3.
0 commit comments