Module 04 — Connect GitHub

⏱️ 10-15 minutes
STOP — Do This Before Real Work
Discord saves conversations. GitHub saves files.
Without both, you lose everything when sessions end.
This is your "Save Project" button. Other cloud storage works, but GitHub is pretty easy and effective.

What Is GitHub? (Simple Version)

GitHub is like Google Drive for files + a time machine for changes.

🗄️ The Cricut Analogy: Save Your Project

Remember Module 03 — Discord was downloading the software so you could use the machine. GitHub is saving your project.

You just spent 15 minutes in Modules 01-03 setting things up. Without GitHub:

With GitHub: Everything persists. Close the browser, come back tomorrow, pick up exactly where you left off.

What You Do vs. What Your Agent Does

👤 YOU Do This (One-time setup):
  1. Create a GitHub account
  2. Create a "repository" (fancy word for folder)
  3. Give your agent a "token" (like a password)
  4. Test that it works
🤖 YOUR AGENT Does This (Ongoing):

The Setup (You Do This)

1

Create Your GitHub Account

  1. Go to github.com
  2. Click "Sign up"
  3. Enter your email, create a password
  4. Choose a username (this becomes part of your address: github.com/yourname)
  5. Verify your email (check inbox for confirmation)

Why this works

GitHub is free for personal use. The account is yours — your agent just gets permission to use it.

2

Create Your Repository

A "repository" is just a tracked folder.

  1. While logged into GitHub, click the "+" button (top right)
  2. Click "New repository"
  3. Repository name: Type something like my-agent-files or heyron-backup
  4. Description: (Optional) "Files and backups for my AI agent"
  5. Public or Private?
    • Private = Only you and your agent can see it ✓ (Recommended)
    • Public = Anyone on the internet can see it
  6. Check the box: "Add a README file"
  7. Click "Create repository"

Why this works

You just created a private folder in the cloud. Right now it only has a README file. Your agent will add more.

3

Get a Personal Access Token

Your agent needs a "key" to unlock your GitHub folder.

  1. Click your profile picture (top right)
  2. Click "Settings"
  3. Scroll down left sidebar, click "Developer settings"
  4. Click "Personal access tokens""Tokens (classic)"
  5. Click "Generate new token""Generate new token (classic)"
  6. Note: Type "Agent Access"
  7. Expiration: Select "No expiration" (or 90 days if you prefer)
  8. Scopes: Check the box for "repo" (lets your agent read/write files)
  9. Click "Generate token"
  10. IMPORTANT: Copy the token immediately! Looks like ghp_abc123xyz...
⚠️ This is the ONLY time you'll see this token. Save it somewhere safe now.

Why this works

The token is like a password that only works on your repository. You can revoke it anytime if needed.

4

Give Your Agent the Token

Tell your agent about your GitHub:

Say: "Connect to GitHub. My repository is at github.com/YOURUSERNAME/YOUR-REPO-NAME. My token is: ghp_abc123xyz..."

Your agent will:

5

Test: Save a File

Verify GitHub is working:

Say: "Create a test file on GitHub with today's date"

What should happen:

If it doesn't work: Common issues — wrong username, typo in repo name, token copied incorrectly. Try again or ask in Discord.

What You Can Do Now

With GitHub connected:

Quick commands to remember:

The Reality Check

Without GitHub:

With GitHub:

This is the difference between a toy and a tool.