# Team setup quickstart (https://sageox.ai/docs/quickstart/team-setup)

# Team setup quickstart

This guide is for **team creators**, the first person setting up SageOx for their team.

<Callout>
  Already been invited to a team? See the [New Team Member Quickstart](/docs/quickstart/new-team-member) instead.
</Callout>

## Prerequisites

- A [SageOx account](https://sageox.ai)
- A git repository you want to connect

## Step 1: Install the CLI

<Terminal>
  <TerminalCommand>curl -fsSL https://raw.githubusercontent.com/sageox/ox/main/scripts/install.sh | bash</TerminalCommand>
</Terminal>

## Step 2: Authenticate

<Terminal>
  <TerminalCommand>ox login</TerminalCommand>
</Terminal>

This opens your browser to sign in. Credentials are stored securely on your machine.

## Step 3: Connect your first repository

Navigate to your repo and initialize SageOx:

<Terminal>
  <TerminalCommand>cd ~/code/my-project</TerminalCommand>
  <TerminalCommand>ox init</TerminalCommand>
</Terminal>

This creates a team automatically (if you don't have one), and registers your repository.

## Step 4: Invite your team

Open your team page in the web app and copy the invite message. It includes:

- Your team invite link
- the repo-connected ox CLI path for coworkers building in code
- the docs links for coworkers who will start in connected tools or through capture flows

Share it via Slack, email, or however your team communicates.

When you share it, tell people to start with whichever matches how they actually work:

- **In a repo**: install the ox CLI, then run `ox login` and `ox init` in the repos they work in
- **In a connected tool**: connect SageOx over [MCP](/docs/mcp)
- **By recording**: start with [web app recorder](/docs/context-capture/web-app-recorder), or [Video import](/docs/context-capture/video-import)

## Step 5: Record a discussion

Capture team knowledge so it flows into your Team Context:

1. Open the [web app recorder](/docs/context-capture/web-app-recorder) from your team page
2. Click **Start Recording**
3. Transcription and insights happen automatically

## Next steps

- [CLI Commands Reference](/docs/cli/quickstart)
- [MCP overview](/docs/mcp)
- [Learn about Team Context](/docs/context-capture/discussions)
- [web app recorder](/docs/context-capture/web-app-recorder)
