- 17 Jul 2024
- Print
- PDF
Google Spreadsheets connection information
- Updated on 17 Jul 2024
- Print
- PDF
summary
This is the help page for setting up Google Spreadsheets connection information.
There are two ways to set up Google Spreadsheets connection information in TROCCO: using a Google account or using a service account.
Preparation before transfer
If you wish to use a service account, you will need to do the following
* Set JSON Key
* Enable API
* Authorization to the email address of the service account in the source and destination spreadsheet sharing settings
Set JSON Key
Refer to Obtaining a Google Cloud J SON Key to obtain a JSON Key. It is not necessary to grant roles to service accounts.
Note the email address of the service account.
Copy the entire contents of the obtained JSON Key and paste it into the JSON Key form on TROCCO's connection setting creation screen.
Enable API
Access the GCP Console and select your project.
(If you have not created a project, please do so in advance.)Access the API library.
Click on Google Sheets API.
- Enable API.
Share settings for source and destination spreadsheets, with permissions granted to the service account's email address
Finally, open the spreadsheet that will be the source and destination of the transfer.
Open Share in the upper right corner of the screen.
Paste the email address of the service account into the user input field.
In the Authorization Selection box on the right, select the required authorization.
(Please select a viewer for the source or an editor with write permission for the destination.)
Reference: Official Documents