Note: if you are having trouble with Google Classroom syncing, try logging out completely of both Code.org and your Google account, then start the process over again in a fresh browser session.
Do you use Clever? Visit our support article for setting up sections with Clever sync
If you log in to Code.org using Google, you can use our Google Classroom integration to sync a Google Classroom roster with your Code.org section! Your students will use Google to log in to Code.org as well. To get started, follow these steps:
Step 1: Log in to your Code.org account via Google
You will need to make sure you can sign in to your Code.org account through Google before you can sync.
To sign in with your Google Account, click on the “Continue with Google” option from the sign in page:
You can also link an existing Code.org account to your Google account. From the Account Settings page, scroll down to the "Manage Linked Accounts" table and click on the "Connect" button in the Google row.
Alternatively, if you currently sign in with an email and password, as long as the email address of your Google Account matches the email address for your Code.org account, you will be able to sign in with the "Continue with Google" option without necessarily linking it as seen above.
Step 2: Create a new section
Go to “My Dashboard” and click on the "Create a section" button. In the popup dialog, you will see the option to use Google Classroom as the login type. Click this tile:
Step 3: [First-time only] Authorize Code.org to use Google Classroom
The first time you try syncing a section with Google Classroom, you will need to authorize Code.org to use Google Classroom. Click the link that says “To authorize Google Classroom, click here.”
You should get something like this:
Make sure you choose the email address in this list that matches the Google Account you are logged in with!
Hit “Allow” on the next dialog.
Step 4: Choose the Google Classroom you wish to sync from
Be sure to double check the name of the classroom you're selecting - sometimes teachers with similarly-named classrooms sync with the wrong one, and this makes it seem like they have the incorrect roster of students on Code.org. Once you have selected the right section, click the "Choose section" button to continue. At this point, the roster of students from the selected Google Classroom will be imported into the Code.org section you are creating.
Step 4: Edit section details, then hit “Save” to finish creating your section
Choose a course to assign to the section if you wish to do that right now. Review the rest of the section information, then hit “Save” to finish. Congrats! You've successfully created a section synced with Google.
Step 5: Have your students log in via Google
Students must log in via the "Continue with Google" button as shown above to log into Code.org and see their enrollment in the section you just created.
Please note that we strongly suggest choosing only one syncing option between Google Classroom and Clever - not both. Using both options can lead to duplicate accounts for students, which can lead to issues with seemingly lost progress because students have been using two accounts.
FAQ & Troubleshooting Tips
How do I re-sync my list of students?
If your Google Classroom roster gets updated, you can sync your list of students in Code.org by going to your Code.org section, clicking on the “Manage students” tab, and hitting the button to “Sync students from Google Classroom”.
Why are a few of my students still missing when I sync my sections, or students that dropped are still appearing?
Make sure you are pulling and syncing from the correct and most up-to-date section from Google Classroom or Clever. Having several similarly-named (or identically-named) sections on Google Classroom or Clever can easily lead to confusion! You can check to see all the sections you have access to, by going to "create a section" from the front of your teacher dashboard, and then choosing Clever or Google Classroom which will then display a list of all sections you have on that 3rd party service.
How can I move students in sections synced with Google Classroom?
You'll need to first move your students to the new section(s) within the Google Classroom side, and then you can re-sync your sections on the Code.org side to see the moves reflected there. The 'sync' button should be available in the Manage Students tab for any section that connects to Google Classroom or Clever, which will update any changes to the roster.
How should my students be signing in?
If your students are using Google Classroom, they should go to the Code.org sign in page and click on the option to “Sign in with Google Account" on the right side (not by typing their credentials on the left).
If your students are using Clever, they should go to their Clever dashboard and click the Code.org logo.