Step 1 of 2  ·  ~8 minutes

Connect the tools.

This installs Claude Code plus the Samba CLI toolchain — gh, gws, wrangler, sf, databricks, jq — and pre-configures your workspace. Idempotent — safe to re-run.

Step 1 · Tools

Install the toolchain.

About 8 minutes on a fresh laptop. The installer asks for your password once (Homebrew needs sudo on first install) and auto-discovers your client_secret.json from ~/Downloads/.

0
Get your client_secret.json

Your manager will share a Google Drive folder with you. Open it, download the client_secret_<hash>.json file (the filename starts with client_secret), and save it to your ~/Downloads/ folder. That's it — the installer will auto-discover it from there.

Open the Drive folder →

If you don't have access yet, ping your manager — it's a one-click share. You can also start the install without it (pick "skip" when prompted) and drop the file in afterwards.

1
Pick your OS

Open Terminal. Run these three commands one at a time. Wait for each to finish before pasting the next.

1.1 — Download the installer

curl -fL -o /tmp/samba-setup.tar.gz https://github.com/the-sid-dani/samba-onboarding/archive/refs/heads/main.tar.gz

1.2 — Unpack it

tar xzf /tmp/samba-setup.tar.gz -C ~

1.3 — Run the installer

cd ~/samba-onboarding-main && ./install.sh
What to expect

About 8 minutes. The installer asks for your laptop password once (Homebrew needs sudo on first install). After that, walk away — the rest is automatic until the OAuth prompt at step 5, which auto-finds your client_secret*.json in ~/Downloads/.

You need WSL2 first — Windows Subsystem for Linux. One-time setup, then you run the same three Mac commands inside Ubuntu.

Read this before you start

The most common Windows failure mode is "nothing happened" after wsl --install. Two causes: (a) PowerShell wasn't opened as Administrator (silent permission fail), or (b) WSL was previously partially-enabled, in which case the command just prints help. Both are covered below. WSL2 install on Windows is real Microsoft software with its own quirks — give it ~10 minutes and one reboot.

1.1 — Open PowerShell as Administrator

  1. Click Start, type PowerShell
  2. Right-click "Windows PowerShell" (or "Terminal") in the results → Run as administrator
  3. Click Yes on the User Account Control prompt
  4. The window title bar should say "Administrator: Windows PowerShell". If it doesn't, close it and try again — a regular PowerShell window will not install WSL.

1.2 — Install WSL2 + Ubuntu (the explicit form)

wsl --install -d Ubuntu

The -d Ubuntu flag explicitly requests the Ubuntu distro (not just the WSL kernel). Without it, partial-WSL installs will just print help and exit. The command takes 5–10 minutes — don't close the window. When it finishes, it'll say "Restart your computer to complete installation."

If wsl --install -d Ubuntu still says "nothing happened"

If the command exits instantly with no progress, WSL is in a weird state. Two fallbacks:

  • Try with --no-launch: wsl --install -d Ubuntu --no-launch — installs without auto-starting
  • Or install Ubuntu directly from the Microsoft Store: search "Ubuntu" → click the orange Ubuntu tile → Get → Install. Then continue with step 1.3 below.

1.3 — Reboot your computer

Required. WSL2 can't finish wiring itself in until Windows restarts.

1.4 — After reboot, launch Ubuntu

Click Start, type Ubuntu, hit Enter. A black terminal window opens. What you'll see:

  1. "Installing, this may take a few minutes..." — wait ~2 min
  2. "Enter new UNIX username:" — type a lowercase name with no spaces (e.g., sid). This is your Ubuntu-local username — has nothing to do with your Samba creds.
  3. "New password:" — type a password. Characters won't display as you type — that's normal Linux behavior, not a bug. Hit Enter, retype to confirm.
  4. You land at a $ prompt with your username and hostname. That's bash inside Ubuntu — Linux now lives inside Windows.

If nothing happens when you launch Ubuntu (window flashes and closes, or no prompts appear), the install didn't complete. Open PowerShell-as-admin again and run wsl --status — if it doesn't show a default distro, install Ubuntu from the Microsoft Store and retry.

1.5 — Inside Ubuntu, run the three install commands

curl -fL -o /tmp/samba-setup.tar.gz https://github.com/the-sid-dani/samba-onboarding/archive/refs/heads/main.tar.gz
tar xzf /tmp/samba-setup.tar.gz -C ~
cd ~/samba-onboarding-main && ./install.sh
WSL2 install path is less-tested than macOS

The installer's macOS path is heavily exercised; WSL2 path is supported but lightly tested. If a step fails, ping #ai-enablement on Slack with the error message — Sid or someone on the AI Task Force will help unstick. Re-running the installer is safe (idempotent).

OAuth on Windows

The Windows tab can't auto-find your downloaded file because the installer runs inside WSL2. At the OAuth prompt (step 5), pick [1] Paste: open client_secret*.json in Notepad, select all, copy, paste into the terminal, press Ctrl-D.

2
Run the 5 one-time auth commands

When the installer finishes, it prints these 5 auth commands at the bottom. Run each one in Terminal (any order) — each opens a browser to sign in with your @samba.tv account. After all five, your CLIs are authenticated.

2.1 — GitHub

gh auth login

2.2 — Google Workspace (Gmail, Calendar, Drive, Docs, Sheets, Tasks, Chat, Slides, Forms)

gws auth login -s drive,gmail,calendar,sheets,docs,chat,tasks,slides,forms

2.3 — Cloudflare

wrangler login

2.4 — Salesforce

sf org login web --instance-url https://sambatv.my.salesforce.com --alias prod

2.5 — Databricks

databricks auth login --host https://dbc-992a5856-b2ed.cloud.databricks.com
Verify it worked

Run gh auth status and gws auth status. Both should print "logged in" with no errors. If one fails, re-run just that auth command — the others stay authenticated.

3
Enable the MCP plugins inside Claude Code

Once your tools are installed (above) and your Second-Brain OS is set up (Step 2), open Claude Code and authenticate the integrations that connect it to the rest of your work. samba-onboarding registers Figma, Google Workspace, and Salesforce at user-scope. second-brain-os ships Slack, Atlassian, Figma, and Exa at project-scope (so you need to be inside that folder for those to show up). Each takes one click to authenticate.

Heads up — order matters

Step 3 works best after you've finished Step 2 (Install OS) and have the Second-Brain harness checked out. Running claude below opens a regular Claude Code session, which is fine — the /mcp menu lives at the user level, not the project level — but most teammates do this after Step 2 so they're already inside the harness folder.

3.1 — Launch Claude Code

claude

If you're following Step 2 first, cd into ~/Desktop/second-brain-os first so the session opens in the right folder.

3.2 — Open the MCP menu

/mcp

What you'll see depends on which folder you launched claude from:

  • From anywhere (user-scope, registered by samba-onboarding): google-workspace-internal, sf-sandbox-fullcopy, figma
  • Additionally, from inside second-brain-os (project-scope, in its .mcp.json): slack, atlassian, exa, gemini-vision

Click each one and choose Authenticate — a browser tab opens, you sign in with your @samba.tv account, and you're back in Claude in a few seconds. Atlassian/Figma/Exa/Workspace use standard browser OAuth; Slack requires a workspace admin to approve the pre-registered app for your workspace once (one click).

What each integration gives you
  • Atlassian (Jira + Confluence) — Claude can search Jira issues, read Confluence pages, even create or update them on your behalf. Useful when you want to draft a ticket, summarize an epic, or write a design doc straight into the wiki.
  • Slack — Claude can read your DMs and channels, search past conversations, draft responses, and post messages when you ask. Drafts are safe by default; nothing sends until you say so.
  • Figma — Claude can read your team's designs, pull screenshots, and generate code from frames. Especially helpful when you're translating a design spec into production code.
What gets installed (the long version)
CLI tooling installed by the script:
  • brew — Homebrew package manager (skipped if present)
  • node — Node 20 LTS (pinned for Claude Code compatibility)
  • git, jq — version control + JSON tooling
  • claude — Claude Code CLI (skills are not bundled; install what you need afterwards)
  • gh — GitHub CLI
  • gws — Google Workspace CLI (Gmail, Calendar, Drive, Docs, Sheets, Tasks, Meet)
  • wrangler — Cloudflare Workers CLI
  • sf — Salesforce CLI
  • databricks — Databricks CLI
Workspace pre-config:
  • Databricks host pre-wired in ~/.databrickscfg
  • GWS OAuth client pre-staged at ~/.config/gws/client_secret.json
MCP servers — owner split:
  • samba-onboarding (user-scope)google-workspace-internal, sf-sandbox-fullcopy, figma. Visible from any cwd. Registered via claude mcp add-json --scope user.
  • second-brain-os (project-scope)slack, atlassian, exa, gemini-vision. Shipped in the repo's .mcp.json, only visible when claude is launched from inside that folder. Slack uses Anthropic's pre-registered clientId (no per-fork app setup needed); requires workspace-admin one-click approval the first time.
Re-running the install is safe.
  • Every step is idempotent — already-installed tools are skipped. If something fails mid-flight, just paste the three commands again.
Step 2 of 2
Install Second-Brain OS itself
Install the OS →