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:

Screenshot_2021-04-19_203928.png

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.Screenshot_2021-04-19_204123.png

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:

mceclip1.png

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.”

mceclip2.png

You should get something like this:

pasted_image_0-2.png

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.

pasted_image_0-3.png

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.

What if I sign into my Code.org account with an email address and password, instead of my Google or Clever account? 

You can link your Code.org account to your Google or Clever login through your account settings page. Just follow the instructions here
 

What if I created a section without Google Classroom or Clever and now want to sync my section with one of these tools?

The best way to deal with this situation is to create a new section from scratch using the instructions outlined in this article. As long as your students were already signing in with their Google Accounts or Clever Accounts, they will get to keep using the same Code.org account in your new section. Therefore, their progress should not be lost.
 
If your students are not already logging in with their Google or Clever accounts, then the same response to the earlier Q&A ("What if I sign into my Code.org account with an email address...") applies.
 

I keep getting an error while trying to create a new section or sync an existing one. What do I do?

Most likely, your overall authentication from Google Classroom or Clever has expired, which happens often. Log out and back in to Code.org through the the "Sign in with Google" link for Google Classroom, and the Clever portal for Clever. 
 

How can my school or district admins set up admin accounts with Code.org or Clever / Google Classroom? 

We do not currently support admin-level accounts on Code.org or through integrations with any sign on service. We'd recommend admins create teacher accounts to have all possible permissions for viewing student progress.  
 

Update 9/30/2020: How can I assign lessons from Code.org to be posted on Google Classroom?

 
If you have any questions, contact us at support@code.org