Connecting PCR Educator to Google Classroom
Posted October 01, 2020
Follow this checklist to establish Google Classroom Integration within PCR Educator.
- Create a new google account for administering and configuring Google Classroom. Note: name the account as pcreducator@[yourdomain]. Note: this account needs to have Super Admin privileges. Note: provide the credentials to your PCR Educator representative assisting you with this integration
- Log in as the newly created user pcreducator@[yourdomain] and navigate to https://console.developers.google.com/
create a new project
- Enable the following APIs: Google Classroom API, Google Calendar, Google Admin SDK
- For Calendar: Google Calendar API
- Configure OAuth consent screen. Note: use Internal Application Type
- Create a service account
- Grant this service account access to project marking it with the Owner role
- Grant users access to this service account. Note: connect pcreducator@[yourdomain] account. Note: in addition to pcreducator@[yourdomain] user, add your own user if desired Note: specify these users for “Service account users role” and for “Service account admins role”
- Navigate to the service account's details and edit its domain-wide delegation by enabling “G Suite Domain-wide Delegation”
- Create a new JSON key
- Download the key file as “credentials.json” Note: the name is important, so make sure to rename to “credentials.json”
- From your G Suite domain's Admin console, go to Main menu> Security > API controls
- In the Domain wide delegation pane, select Manage Domain Wide Delegation
- Click Add New
- In the Client ID field, enter the client ID obtained from the service account creation steps above
- In the OAuth Scopes field, enter a comma-delimited list below:
https://www.googleapis.com/auth/classroom.guardianlinks.students,https://www.googleapis.com/auth/classroom.profile.emails,https://www.googleapis.com/auth/classroom.rosters,https://www.googleapis.com/auth/classroom.courses,https://www.googleapis.com/auth/classroom.profile.photos,https://www.googleapis.com/auth/classroom.student-submissions.me.readonly,https://www.googleapis.com/auth/classroom.coursework.students,https://www.googleapis.com/auth/classroom.topics,https://www.googleapis.com/auth/classroom.coursework.me,https://www.googleapis.com/auth/classroom.announcements,https://www.googleapis.com/auth/classroom.rosters.readonly
,https://www.googleapis.com/auth/classroom.topics.readonly,https://www.googleapis.com/auth/classroom.courses.readonly,https://www.googleapis.com/auth/classroom.announcements.readonly,https://www.googleapis.com/auth/classroom.push-notifications,https://www.googleapis.com/auth/classroom.student-submissions.students.readonly,https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly,https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly, https://www.googleapis.com/auth/classroom.profile.emails
For Calendar:
https://www.googleapis.com/auth/calendar,
https://www.googleapis.com/auth/calendar.events,
https://www.googleapis.com/auth/calendar.events.readonly,
https://www.googleapis.com/auth/calendar.readonly,
https://www.googleapis.com/auth/calendar.settings.readonly,
https://www.googleapis.com/auth/admin.directory.user
- Click Authorize
- Navigate to PCR Educator's Admin Portal: Admin>Maintenance>Google Classroom and upload the “credentials.json”
- Make sure you see the message “The file credentials.json is present”
- Go to google console with the newly created user (pcreducator@[yourdomain]) and navigate to Classroom General Settings (Apps > Additional Google services > Settings for Classroom > General settings)
- Look at Who can create classes? Setting. If this setting is limited to teachers or pending teachers, you will have to add pcreducator@[yourdomain] as your teacher as otherwise this account will not have enough permissions to generate classes in Google Classroom
https://support.google.com/edu/classroom/answer/6071551?hl=en#zippy=%2Cverify-teachers
Related articles
More from the Knowledge Base
Still have questions?
Live chat is staffed weekdays 8 am to 7 pm ET. Tickets get a response within one business day.
New to PCR Educator?
If you landed here from a search and want to see what PCR Educator can do, the demo is the fastest way in. Thirty minutes, no commitment.