Skip to content

Get your Google key for Google Sheets

LessonQ writes to your spreadsheets as a service account: a robot user that lives in your own Google Cloud project. You make it once, download its key (a small JSON file), and give that file to LessonQ. It’s free, and needs no card.

In this video · 2:46

Read the narration
  • Use the Google account that will own your spreadsheets. The project, the service account and the spreadsheets all belong to it.
  • Nothing here costs money. The Google Sheets and Drive APIs are free and need no billing account. If Google offers a free trial or asks for a card, you can skip it.
  • It takes about five minutes, once.

In LessonQ, open Settings → Google Sheets and click Setup guide. It lists the same steps as this page, each with a link straight to the right page in Google Cloud.

LessonQ's Setup guide: Set up your Google service account, step 1 Create a Google Cloud project, with its link
  1. Open the project creator: each step has a link like this.

The first time you open Google Cloud, it asks for your Country and for you to accept its Terms of Service.

Google Cloud's first-visit window: Country and Terms of Service, with Agree and continue
  1. Open New Project in Google Cloud (from the Setup guide’s link, or Select a project → New project).
  2. Give it any name, such as LessonQ Sheets, and click Create.
  3. When it’s ready, Google says so in a notification. Click Select Project there, so your new project is the one open.
Google Cloud, New Project: the project name LessonQ Sheets typed, and the Create button
  1. Project name.
  2. Create.
Google Cloud notifications: Create Project LessonQ Sheets, Just now, with Select Project
  1. Select Project. Check the project’s name at the top afterwards.
  1. Open the Google Sheets API page and click Enable. This is what lets LessonQ write rows.
  2. Optional: open the Google Drive API page and click Enable. With it, you pick your spreadsheet from a list in LessonQ instead of pasting its link.
Google Sheets API page, with the Enable button
  1. Enable.

3. Create a service account, with no roles

Section titled “3. Create a service account, with no roles”
  1. Open IAM & Admin → Service Accounts and click Create service account.
  2. Give it a name, such as lessonq-sync, and click Create and continue.
  3. Google offers to give it a role (Permissions). Skip it: give it none, and click Continue.
  4. Click Done.
Create service account: the name lessonq-sync, its ID and email, and Create and continue
  1. Service account name.
  2. Create and continue.
Create service account, step 2 Permissions (optional), with Select a role left empty
  1. Select a role: leave it empty.
  1. In the list, click the service account’s address to open it, then the Keys tab.
  2. Click Add key → Create new key.
  3. Keep JSON and click Create. A file downloads to your computer.
Create private key for lessonq-sync: JSON selected, and Create
  1. JSON.
  2. Create.
Private key saved to your computer, with the file's name
  1. Private key saved to your computer. That file is your key.

Now give the file to LessonQ: Connect Google Sheets to LessonQ.