Navigation

Google Groups Setup Guide

Automate NotebookLM Access for Grammar Academy

Setup Progress0 / 5 steps complete
REQUIRED
3 minutes
Step 1: Create Google Group
  1. Go to Google Groups (groups.google.com)
  2. Click 'Create Group'
  3. Name: Grammar Academy Subscribers
  4. Email: grammar-academy@intuitiveenglish.co.uk
  5. Description: Auto-managed group for NotebookLM access
  6. Who can view members: Group managers
  7. Who can post: Anyone (for support)
  8. Click 'Create'
REQUIRED
5 minutes
Step 2: Share NotebookLM Notebooks with Group
  1. Open each NotebookLM notebook (all 10+ modules)
  2. Click 'Share' button
  3. Add: grammar-academy@intuitiveenglish.co.uk
  4. Permission: Can view
  5. Uncheck 'Notify people'
  6. Click 'Share'
  7. Repeat for all notebooks
REQUIRED
2 minutes
Step 3: Enable Admin SDK API
  1. Go to Google Cloud Console (console.cloud.google.com)
  2. Select your project (or create one)
  3. Navigate to 'APIs & Services' → 'Library'
  4. Search for 'Admin SDK API'
  5. Click 'Enable'
  6. Wait for confirmation
REQUIRED
5 minutes
Step 4: Set Up Domain-Wide Delegation
  1. In Google Cloud Console, go to IAM & Admin → Service Accounts
  2. Find your service account (from GOOGLE_CLOUD_CREDENTIALS)
  3. Click the email address
  4. Go to 'Details' tab
  5. Copy the 'Client ID' (numeric)
  6. Go to Google Admin Console (admin.google.com)
  7. Navigate to Security → API Controls → Domain-wide Delegation
  8. Click 'Add new'
  9. Paste Client ID
  10. Add OAuth Scope: https://www.googleapis.com/auth/admin.directory.group
  11. Click 'Authorize'
REQUIRED
5 minutes
Step 5: Test Automation Function
  1. Go to your app's dashboard
  2. Navigate to Code → Functions → addToGrammarGroup
  3. Click 'Test' or use the function URL
  4. Send test payload: { action: 'add', user_email: 'your@email.com', subscription_id: 'test' }
  5. Check response for success
  6. Verify you appear in Google Group members
  7. Test removal: { action: 'remove', user_email: 'your@email.com', subscription_id: 'test' }
  8. Verify you're removed from group