We have created a Google Cloud service account and downloaded the credential.json file in the previous article. This article will teach you how to share a Google Spreadsheet with your Google Cloud service account.
Step 1: Create a Google Spreadsheet. Generate some data like the following image.
Step 2: Click the Share button on the top-right corner.
Step 3: Enter the email of your Google Cloud service account generated in step 8 in this article. Press the Share button.
Congratulation! You have shared a Google Spreadsheet with your Google Service account. The following article will teach us how to create a Discord and Telegram bot to edit a Google Spreadsheet.