# Choose Repository

> The searchable list of every GitHub repository AirBuild can reach, opened from Share Repository to pick the one to share with an Agent.

Source: https://air.build/docs/screens/chat/choose-repository/

Choose Repository is the list you pick a repository from when sharing one with an Agent. It shows every repository the AirBuild GitHub App can reach, across all your GitHub accounts, with a search field at the top.

## Open it

On the [Share Repository](https://air.build/docs/screens/chat/share-repository/) sheet, tap the **Repository** row. Choose Repository opens over it. Close it with **Cancel** (top left on iPhone and iPad, bottom right on the Mac), or by picking a repository.

## What's on it

| Item | What it shows or does |
| --- | --- |
| **Search repositories** | Narrows the list as you type. It matches a repository's name, its _owner/name_ and its description. Names that start with what you typed come first. The clear button (✕) empties the field. On the Mac, Esc in the field also empties it. |
| Accounts | Shown when the app is on more than one account. On iPhone and iPad, a row of chips: **All**, then each account with its picture and how many repositories it grants; tap one to see only that account. On the Mac, an **Account** menu with **All** and each account. |
| Account sections | Without a search, the repositories sit under their account's name, with how many there are (**12 repositories**): beside the name on iPhone and iPad, under the group on the Mac. |
| Repository rows | The repository's name, its description under it, and at the end how long ago it was last pushed to. The most recently pushed come first. The repository you have picked shows a check instead. Tap a row to pick it; the list closes and Share Repository shows your pick and its account. |
| Search results | While searching, one list across accounts headed with the count (**3 results**). With an account chosen in the chips or the **Account** menu, only that account is searched. Each row shows the owner before the description, and the matching part of the name is highlighted. |
| **Connect More Repositories…** | Always at the bottom. Opens GitHub's installation page for the AirBuild GitHub App in your browser, to grant more repositories or install the app on another account. The list stays open. |
| Footer | "Grant repository access on GitHub. The list refreshes automatically when you return." |

Repositories you grant on GitHub appear in the list when you come back, without closing it.

## Pick a repository

1. Type part of the repository's name in **Search repositories**, or find it under its account.
2. Tap the repository.
3. On Share Repository, tap **Share**.

## Messages

| Message | What it means | What to do |
| --- | --- | --- |
| "No repositories have been granted yet. Grant access on GitHub and this list will refresh automatically." | No account grants any repository. | Tap **Connect More Repositories…** and grant repositories on GitHub. |
| "No repositories match “…”." and "Not seeing it? It may not be granted to AirBuild yet." | Nothing matches your search. | Check the spelling, tap **All**, or grant the repository with **Connect More Repositories…**. |
