Skip to main content
Setting up GitHub takes two parts: giving AurInfer access to your repositories, and adding the integration to a character. You can do them in either order, but you need both before your first session.
To add the GitHub integration, you need to own the character or manage it through a team.

1. Give AurInfer access to your repositories

AurInfer reaches your repositories in one of two ways. Your access belongs to your AurInfer account, so every character you set up with GitHub can use it.
The AurInfer GitHub App gets access only to the repositories you choose on GitHub. It works for your personal account and for organizations.
1

Open GitHub Access

In your character’s sidebar, open Workspace → Access. You can also click Manage GitHub access during setup or in Studio’s repository picker.
2

Install the App

Click Install the AurInfer GitHub App. GitHub opens.
3

Choose the account and repositories

On GitHub, pick your account or an organization, then choose All repositories or only the repositories you select. Confirm the install.
4

Come back to AurInfer

GitHub sends you back to the dashboard, and the installation appears on the GitHub Access page.
The GitHub App is the better choice when you want to limit the character to specific repositories, or when you work in an organization’s repositories. See GitHub Access for the differences.

2. Add the integration to your character

1

Open the GitHub setup page

Open your character in the dashboard. In the sidebar, open the Integrations picker (Select Integration or Add Integration) and choose GitHub. You’ll see the Bring [character] to GitHub page.
2

Start the setup

Click Integrate with GitHub.
3

Choose how the character starts on a request

Pick the default mode for new sessions:
  • Ask: asks before changing files.
  • Plan: plans, then waits for your approval. With Ask clarifying questions first on, it first asks you a few questions when your request is unclear.
  • Auto: just starts.
If you’re not sure, choose Plan. You can change the mode for any session later.
4

Choose when it commits

  • Ask me first: nothing is pushed to your branch until you approve it.
  • Commit right away: when the character works in Auto mode, it commits and pushes its changes at the end of each turn.
See Commits and where they go for the details.
5

Give permission

Tick the box that allows the character to read the repositories your GitHub access reaches, edit their files, run code in a sandbox, and create branches, commits and pull requests in them when you start a session. Click Continue.
If you haven’t given AurInfer access to GitHub yet, the setup page warns you. You can still finish the setup and connect GitHub before your first session.

Optional: give the character its own GitHub account

After Continue, the setup offers a second, optional step: Give [character] its own GitHub account.
  • Without one, the character’s commits show its name with “(AurInfer)” and GitHub’s grey placeholder picture.
  • With one, its commits show that account’s name and profile picture.
To add one, create a new GitHub account for the character first, then click Use a GitHub account and sign in to it. Click Skip for now to finish without one. You can add it later in Settings → Commit Author.
Don’t use your own GitHub account here. Everything the character commits would show as you.

3. Start your first session

1

Open Studio

In the sidebar, open Workspace → Studio.
2

Pick a repository

Click the repository chip under the message box and choose a repository.
3

Describe what you want

Type a request, such as “Add a dark mode toggle to the settings page” or “Explain how authentication works in this repo”, and press Enter.
The session opens and the character starts working. See Studio for every option on the start screen, and Working in a Session for what happens next.
You can also set up and use GitHub in the AurInfer Android app. See the Android app overview.

Troubleshooting

AurInfer has no GitHub access for your account yet. Install the GitHub App, or connect GitHub in Settings → Connected accounts, as shown in step 1.
With the GitHub App, open Manage on GitHub on the GitHub Access page and add the repository to the installation. Studio lists only repositories your own GitHub account can push to. See GitHub Access.
Neither your GitHub App installations nor your connected GitHub account can push to that repository. Add it to the App installation on GitHub, or ask the repository’s owner for write access.
Only the character’s owner, or a team member who manages it, can add integrations. Make sure you’re signed in with the right account.