- Log in to Google Console
- Select or create a project
- Enable GoogleSheets API if it's disabled. Wait several minutes after enabling API. ( Google's guide, search for sheets)
- Select
Credentials
, click onCreate credentials
and chooseService
- Optionally name the service and press
Create
- Click on
Next
button on next page - Click on
Create key
button, chooseJson
, click onCreate
and download file on your computer - Open downloaded file in text editor and copy
client_email
andprivate_key
attributes to datasource parameters - Open up your spreadsheet in your browser, copy the URL, click on
Retrieve from URL
button, paste the URL and click onParse
button to fill Spreadsheet ID (alternatively read this article to learn how to obtain SpreadsheetID) - Save settings
- Switch back to your browser and add service email to the list of authorized users for your spreadsheet