GitHub Setup wix.com

Automated Development Environment Configuration

What You'll Accomplish Today

✅ Create GitHub account
✅ Generate secure access token
✅ Run automated setup script
✅ Validate everything works

Total Time: ~15 minutes

Part 1: Create GitHub Account

Step 1 of 4 | Time: ~5 minutes

  1. sign with goole with your WIX account
  2. username should be based on WIX account (will be public) - remember this user name or copy it to notes , you will need it later
  3. Complete the captcha (if needed)
  4. Verify your email (check inbox) (if needed)

Success: You should see your GitHub dashboard

Part 2: Generate Access Token

Step 2 of 4 | Time: ~5 minutes

What is a Personal Access Token?

Think of it as a special password for code operations:

  • ✅ Works only for git/code (not website login)
  • ✅ Can expire (security)
  • ✅ Can be regenerated if compromised
  • ✅ Specific permissions you control

Generate Your Token

Navigate to Token Settings

  1. Click profile picture (top-right)
  2. Select "Settings"
  3. Scroll to "Developer settings" (bottom left)
  4. Click "Personal access tokens"
  5. Select "Tokens (classic)"

Configure Your Token

Click "Generate new token (classic)"

Note: my_git_token

Expiration: 90 days

Permissions: ✅ Check repo only

  • This gives full repository access
  • Don't check anything else

Save Your Token

⚠️ CRITICAL STEP

  1. Click "Generate token"
  2. COPY IT IMMEDIATELY
    • Looks like: ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    • You'll NEVER see it again!

Save temporarily:

  • Paste in Notes app
  • You'll need it in next step
  • Delete after setup completes

Success: Token starts with ghp_

Part 3: Run Automation Script

Step 3 of 4 | Time: ~2 minutes

Open Terminal

Mac: Cmd + Space → type TerminalEnter

Download & Run Script

Copy and paste this command:

curl -O https://raw.githubusercontent.com/itayshmool/dev_tools/main/setup-github.sh && chmod +x setup-github.sh && ./setup-github.sh

Press Enter

Answer 3 Questions

The script will ask:

  1. "Have you created account and token?"

    • Type: yEnter
  2. "Enter your GitHub username:"

    • Type your username → Enter
  3. "Enter your GitHub email:"

    • Type your email → Enter
  4. "Paste your Personal Access Token:"

    • Paste token (won't show) → Enter

Watch the Magic ✨

The script automatically:

✅ Installs/verifies Git
✅ Configures your identity
✅ Tests GitHub authentication
✅ Stores token securely (macOS Keychain)
✅ Creates test repository
✅ Pushes to verify everything works
✅ Deletes test repository
✅ Configures MCP for Cursor

Part 4: Validation

Step 4 of 4 | Time: ~3 minutes

1. Restart Cursor

Important: Must restart for MCP to activate

  • Quit Cursor completely (Cmd+Q)
  • Wait 2 seconds
  • Reopen Cursor

Verify Git Configuration

In Terminal, run:

git config --list --global

You should see:

user.name=YourGitHubUsername
user.email=your.email@example.com
credential.helper=osxkeychain
init.defaultbranch=main

Git is configured correctly

Test Repository Access

Clone the workshop repository:

git clone https://github.com/itayshmool/creators-training-2026.git

What should happen:

  • ✅ Downloads without asking for password
  • ✅ Shows "Cloning into..."
  • ✅ Completes successfully

Authentication is working

Verify MCP Integration

In Cursor:

  1. Press Cmd+Shift+P
  2. Type: MCP
  3. Look for MCP-related commands
  4. Find "GitHub" in MCP servers list

MCP integration is active

🎉 You're Done!

What You've Accomplished:

✅ GitHub account created and verified
✅ Personal Access Token generated
✅ Git installed and configured
✅ GitHub authentication working
✅ Token securely stored (not plain text!)
✅ MCP integration configured
✅ Everything validated and tested

You're ready for the workshop! 🚀

Security Reminders

Your token is stored securely in macOS Keychain

Never:

  • ❌ Share your token with anyone
  • ❌ Commit your token to code
  • ❌ Post your token online

Do:

  • ✅ Regenerate if compromised
  • ✅ Set expiration dates
  • ✅ Use minimal permissions

Quick Troubleshooting

"Authentication failed"

→ Generate new token, run script again

"Git not found"

→ Install Xcode Command Line Tools, run script again

"MCP not showing"

→ Completely quit Cursor (Cmd+Q), reopen

"Push failed" (but auth worked)

→ Your setup is correct! Try the clone test

What's Next?

On workshop day:

  1. Clone the workshop repository ✅ (you know how!)
  2. Open in Cursor
  3. Start building with AI assistance
  4. Deploy live to the internet

No more setup required!

Understanding What Happened

Git Configuration

Your name/email are attached to all code changes

Token Storage

Stored in macOS Keychain, automatically retrieved when needed

MCP Integration

Model Context Protocol lets Claude in Cursor:

  • Read your code
  • Create files
  • Push changes to GitHub

This is the magic behind AI-assisted development!

Resources

Questions? Ask your workshop facilitator!

Made with ❤️ for CDD Workshop 2026

GitHub Setup wix.com

By Itay Shmool

GitHub Setup wix.com

Discover the streamlined process for setting up your GitHub account and automating your development environment. Engage with simple steps to enhance your productivity and unlock efficient coding practices in just a few minutes!

  • 97