Google Colab: Getting Started Guide

Google Colab allows users to create and share Python notebooks stored in Google Drive. You can collaborate with others by granting different access levels such as Viewer, Commenter, or Editor.

How to share a Colab Notebook

Step 1: Open the Notebook

  • Open your notebook in Google Colab

Step 2: Click Share

  • Select the Share button located in the top-right corner

Screenshot of Google Colab share button

Step 3: Add People

  1. Enter the name or email address of the user
  2. Select the appropriate permission level:
    • Viewer – Can view the notebook only
    • Commenter – Can comment but not edit
    • Editor – Can make changes

Step 4: Send the Invite

  • Click Send to share access

Screenshot of Google Colab sharing with others screen

What Gets Shared When You Share a Notebook?

When you share a Colab notebook, the following are included:

  • Notebook content (text, code, and outputs)
  • Comments within the notebook

Important Notes

  • You can remove code cell outputs before sharing if needed
  • Saved notebooks include outputs unless removed manually
  • The virtual machine environment is not shared, including:
    • Installed libraries
    • Runtime session data

How to Find and Open Colab Notebooks

Option 1: Google Drive

Option 2: Within Colab

  1. Click the Colab menu (top-left logo)
  2. View recent notebooks
  3. Or select:
    • File → Open notebook

Tips

  • Use Editor access sparingly to avoid unintended changes
  • Consider sharing with Viewer access first, then upgrade if needed
  • Rename “Untitled” notebooks before sharing for clarity