# Software onboarding

Build and maintain Clubhouse software on your own computer. Start here if you are a staff member or an agent helping one.

## Get access

Use your own GitHub account. Ask a Stanford-CHIP organization administrator to invite that account to the organization and grant access to the staff handbook and the app you will edit. Accept the invitation while signed in to the intended account.

Open [the Stanford-CHIP organization](https://github.com/Stanford-CHIP) and look for **chip-handbook**. The private handbook is being provisioned. If it is missing, ask the administrator to confirm the repository is ready and that your account can read it. This public guide is safe to share.

## Open the project locally

Use GitHub Desktop’s **Clone repository** action for the handbook and the app. Choose the same parent folder for both. Alternatively, use GitHub CLI on your computer:

```sh
gh auth login --hostname github.com --web
gh repo view Stanford-CHIP/chip-handbook
gh repo clone Stanford-CHIP/chip-handbook
```

The person completes GitHub’s browser sign-in on their own device. Keep passwords, tokens, and private keys out of prompts. If you use a hosted agent, give its GitHub integration access to the required repositories.

## Give your agent its first task

Open the app folder and give your agent this instruction:

> Read the app’s README and AGENTS.md, then read ../chip-handbook/AGENTS.md. Find the local startup and test commands. Help me preview a change and show me what will be published.

Use your own coding-tool account. Staff publish from GitHub using their individual permissions. The deployment guide explains how an agent can trigger a GitHub workflow that publishes directly to the droplet over SSH. The workflow uses the deployment key.

## Add a service

Add one record to the handbook’s service catalog to create a directory listing and uptime check. Follow the style and deployment guides, then verify the listing and the first monitoring result. Before publishing, try the app locally, check the preview if one is configured, and confirm how to restore the previous version. The server operator manages droplet access. Staff onboarding requires no droplet login.
