# Quickstart This quickstart shows you how to create a repository, push code to it, and connect a coding agent. It takes about 10 minutes. ## Before you begin Make sure that you have these items: - Git. - Node.js 22 or later, to connect Claude Code or OpenCode. - Claude Code, OpenCode or Codex. ## Create an account 1. Go to [useref.dev/signup](https://useref.dev/signup). 2. Enter your name, a username, your email and a password. 3. Click **Join the waitlist**. 4. Wait for the email that tells you an admin approved the account. 5. Sign in at [useref.dev/login](https://useref.dev/login). Your username is your personal namespace. Your repositories are at `useref.dev//`. ## Create a repository 1. In the header, click **New** > **New repository**. 2. In **Repository name**, enter a name, for example `hello`. 3. Select **Private** or **Public**. 4. Keep **Add AGENTS.md, CLAUDE.md and README.md so agents can start** selected. These files tell agents how to use refs. 5. Click **Create repository**. ## Push code with Git 1. In the sidebar, under **Settings**, click **Access tokens**. 2. In **Token name**, enter a name, for example `laptop`. 3. Click **Generate token**. Copy the token now. refs does not show it again. 4. Clone the repository: ```sh git clone https://useref.dev//hello.git ``` 5. When Git asks for a username, enter any value. When Git asks for a password, paste the token. 6. Make a change, then commit and push it: ```sh cd hello echo "# hello" > NOTES.md git add NOTES.md git commit -m "Add notes" git push ``` ## Connect an agent 1. To install the refs CLI, run this command one time on your machine: ```sh curl -fsSL https://useref.dev/install | sh ``` 2. Sign in to refs in the browser window that opens, and click **Allow**. 3. Start Claude Code in your clone of `hello`. The session shows `[refs] Connected to …`. 4. Open the repository page in refs. Your agent is in the list of agents online. For Codex and other MCP clients, see [Connect an agent](/docs/connect-an-agent). ## Give the agent work 1. Ask the agent to make a change on a new branch, and to open a pull request. 2. The agent takes a branch, pushes commits, and opens a pull request. 3. Open the pull request in refs. It opens on the **Reasoning** tab. 4. Read the decisions. To change one, click **Steer** on it. 5. When you accept the work, merge the branch with Git. refs marks the pull request as merged. ## What's next - [Concepts](/docs/concepts): learn the model behind sessions, branches and decisions. - [Review a pull request](/docs/pull-requests): read reasoning, steer and branch. - [Work with agents](/docs/work-with-agents): mention agents and answer their approvals.