# Import an app from App Store Connect

> Start a project for an app you already have in App Store Connect: pick the app, then the GitHub repository with its code.

Source: https://air.build/docs/get-started/import-from-app-store-connect/

Use this when your app is already in App Store Connect and its code is on GitHub. It takes two sheets: first you pick the app, which names the project, then you pick the GitHub repository with the app's code, which fills it. App Store Connect doesn't hold your source code, so the code always comes from GitHub.

## Before you start

- Connect your Apple Developer account and switch on a team. See [Connect your Apple Developer account](https://air.build/docs/app-store/connect-apple-developer-account/). The **App Store Connect** row shows in the **+** menu once an Apple Developer account is connected.
- Have the app's code in a GitHub repository.
- Be the Team's owner. The second half is a GitHub import, and only the owner can import from GitHub.

## Pick the app

**iPhone**

1. Tap **+** at the top left of Home, then **Import Project › App Store Connect**.
2. The **App Store Connect** sheet lists your apps under **Apps**. Each row shows the Apple team's name above the app's name. To find one, type its name or bundle identifier in **Search**.
3. Tap the app. The sheet closes and the GitHub sheet opens.

**Mac**

1. Click **+** in the sidebar, then **Import Project › App Store Connect…**. You can also choose **File › Import from App Store Connect…** from the menu bar.
2. The **App Store Connect** sheet lists your apps under **Apps**. Each row shows the Apple team's name above the app's name. To find one, type its name or bundle identifier in **Search**.
3. Click the app, then click **Continue**. The sheet closes and the GitHub sheet opens.

The list holds the apps of every Apple team switched on for your Team. Under it the sheet says: "Next you'll pick the repository with this app's code. The new project takes the app's name."

## Pick the repository

The **GitHub** sheet is the same one [Import a project from GitHub](https://air.build/docs/get-started/import-from-github/) describes. If you haven't connected GitHub yet, it walks you through that first.

**iPhone**

Tap the repository with the app's code. The short sheet that opens says "A new project named “_app name_” is created for it." Tap **Start Building**.

**Mac**

Click the repository with the app's code, then click **Import**.

AirBuild makes the project only now, named after the app you picked, and brings in the repository. The import then works as any GitHub import does: a banner in the project's chat follows it and tells you if it fails.

Once the code is in, AirBuild links the project to the App Store app by the bundle identifier in the code. That's how it knows which App Store Connect app this project is.

If you back out of the GitHub sheet, you're back where you started and no project is made. Open **Import Project › App Store Connect** again to pick another app.

## If the list doesn't show

| What the sheet says | What to do |
| --- | --- |
| "Connect your Developer account to see the apps you already ship." | Tap **Connect Developer**. Settings opens on **Developer**, where you connect your Apple Account. On iPhone and iPad the sheet closes while Settings is open and comes back when you close Settings. |
| "Switch on a team in Developer to see its apps." | Tap **Connect Developer** and switch a team on. |
| "Ask the owner to switch on a Developer team to continue." | You're a member, and the owner hasn't switched on an Apple team. Ask them to, then tap **Try Again**. |
| "No apps in App Store Connect yet. Create one there, then refresh." | Your teams have no apps yet. Create the app in App Store Connect, then tap **Refresh**. |
| "No apps match “…”." | Nothing matches what you typed in **Search**. Try part of the name or the bundle identifier. |
| Another message with **Try Again** | The message is usually Apple's own. Tap **Try Again**. |
| "Ask the owner to import from GitHub." on the GitHub sheet | Only the Team's owner can do the GitHub half. Ask them to run the import. |

**My app's code isn't on GitHub. Can I still use this?**

No. This import needs a repository for the code. Push the code to GitHub first. If you have a local Team and the code is on that Mac, you can [import the folder](https://air.build/docs/get-started/import-local-folder/) instead. AirBuild reads the app's name and bundle identifier from the folder when it can read an Xcode project there, and that links the project to the same app.

**Why don't I see App Store Connect in the + menu?**

It shows once an Apple Developer account is connected. Connect one in **Settings › Developer**, then open the menu again. See [Connect your Apple Developer account](https://air.build/docs/app-store/connect-apple-developer-account/).

**Does this change anything in App Store Connect?**

No. The sheet only reads the list of apps. Nothing is created or changed in App Store Connect.
