Get started

Bring a repository you already have on GitHub into a new AirBuild project, or into an empty one.

Importing copies a repository from GitHub into a project, and your Agents work from those files. Doing it takes two trips to GitHub: one to sign in, one to choose which repositories AirBuild can open. After that you pick a repository from a list.

Start the import

You can start from the + menu, which creates a new project for the repository, or from the chat of a project that is still empty.

Tap +, then Import from GitHub. If the menu shows Import Project, tap it and choose GitHub.

To fill a project that already exists but has no files yet, open its chat and tap the Import from GitHub card (“Bring in a repository”).

The GitHub sheet opens. It lists three steps: Sign in with GitHub, Choose which repositories AirBuild can open, and Pick one to import. Each step is marked once it’s done.

Sign in and choose repositories

You only do this the first time, or when you want to add more repositories.

  1. Tap Connect GitHub. GitHub opens in your browser. Sign in there.
  2. Come back to AirBuild. If GitHub hasn’t given AirBuild any repositories yet, the sheet opens GitHub’s page for the AirBuild GitHub App so you can install it. The sheet’s title changes to Choose Repositories, and you can open that page again with Choose Repositories on GitHub.
  3. On GitHub, choose the account or organization and the repositories AirBuild may open.
  4. Come back to AirBuild. While the sheet checks with GitHub it shows Waiting for GitHub…, and your repositories appear in the list without you having to close the sheet.

AirBuild only sees the repositories you choose on GitHub. Your Agents never see your GitHub password.

Pick a repository and import it

The list shows the repositories from every account and organization you granted, and each row says who owns the repository. Type in Search repositories to find one. If it isn’t there, it hasn’t been granted to AirBuild yet: use the last row, Connect More Repositories…, to go back to GitHub and add it.

  1. Tap the repository. A short sheet shows its owner and name, whether it’s Private or Public, its default branch, when it was last updated, and where the files will go:
    • from the + menu: “A new project named “…” is created for it.”
    • from an empty project: “The files are added to this project.”
  2. Tap Start Building. If you picked the wrong one, swipe the sheet down.

From the + menu, the new project is named after the repository. The project is only created once you’ve picked a repository, so backing out of the sheet doesn’t leave an empty project behind.

After the import

While the import starts, the sheet shows Importing with the repository’s name and can’t be swiped away. Once it has started, the sheet closes. A banner at the top of the project’s chat follows the import, and tells you if it fails. On iPhone and iPad the import also shows in the Live Activity: see Follow your Agents on the Lock Screen and in the Dynamic Island.

Nothing is typed into the chat for you. When the import finishes, the files are in the project and you can ask your Agents to work on them.

If you tap Cancel while the import is starting, the sheet stops waiting. An import that had already started still finishes, and the banner shows it.

Private repositories

Private repositories import the same way as public ones. They’re in the list once you’ve granted them to the AirBuild GitHub App on GitHub, and the confirmation on iPhone and iPad marks them Private.

If your organization uses single sign-on, GitHub can hide its repositories until you complete it. The sheet then shows Single Sign-On Required or Finish Single Sign-On. Tap Sign In to GitHub Again (or Sign In Again), and complete single sign-on when GitHub asks. The organization’s repositories then appear in the list.

Manage GitHub in Settings

Open Settings › Connections › GitHub to see the GitHub account your Agents use and where the AirBuild GitHub App is installed.

  • Account shows the GitHub account your Agents work as. If you haven’t connected one, tap Connect GitHub.
  • GitHub App lists each account and organization where the App is installed, with how many repositories it grants. Tap one to manage its repositories on GitHub.
  • Install AirBuild GitHub App appears when the App isn’t installed anywhere yet. Add Account… installs it on another account or organization.

On the import sheet, the ⋯ menu has Connect More Repositories…, Sign In to GitHub Again and Refresh.

Who can import

Only the Team’s owner can import from GitHub and connect GitHub. Agents use the owner’s GitHub connection for the whole Team. If you joined someone else’s Team, the sheet says “Ask the owner to import from GitHub.”

If something goes wrong

What you see What to do
Sign In to GitHub Again: “Your GitHub sign-in has expired.” Tap Connect GitHub and sign in again. In Settings, tap Sign In Again next to the account.
Choose Repositories: the list is empty after you signed in Tap Choose Repositories on GitHub, grant at least one repository, then come back.
Already Granted Access? after you granted repositories Your organization may use single sign-on. Tap Sign In Again and complete it when GitHub asks.
“This app directory already contains files. Please import into a new, empty project.” Import only goes into an empty project. Start again from + so a new project is made for the repository.
Another error with Try Again Tap Try Again. If GitHub hadn’t caught up yet, the list comes back.
Can I import into a project that already has files?

No. AirBuild won’t merge a repository into existing files. Import from the + menu instead, which creates a new, empty project for the repository.

Can AirBuild see all my repositories?

No. It sees only the repositories you grant to the AirBuild GitHub App on GitHub. To change them, open Settings › Connections › GitHub and tap the account.

I granted a repository but it isn't in the list.

Wait a moment. The list refreshes when you come back to AirBuild, and you can choose Refresh from the ⋯ menu. If the repository belongs to an organization that uses single sign-on, choose Sign In to GitHub Again.