Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

GitHub OAuth app

Focus mode

On this page

GitHub OAuth app - AWS CodeBuild

Connect GitHub using OAuth (console)

To use the console to connect your project to GitHub using an OAuth app, do the following when you create a project. For information, see Create a build project (console).

  1. For Source provider, choose GitHub.

  2. For Credential, do one of the following:

    • Choose to use account credentials to apply your account's default source credential to all projects.

      1. If you aren't connected to GitHub, choose Manage account credential.

      2. For Credential type, choose OAuth app.

    • If you chose to use account level credentials for Service, choose which service you'd like to use to store your token and do the following:

      1. If you choose to use Secrets Manager, you can choose to use an existing secret connection or create a new secret, and then choose Save. For more information how to create a new secret, see Create and store a token in a Secrets Manager secret.

      2. If you choose to use CodeBuild and then choose Save.

    • Select Use override credentials for this project only to use a custom source credential to override your account's credential settings.

      1. From the populated credential list, choose one of the options under OAuth app.

      2. You can also create new OAuth app token by selecting create a new Oauth app token connection in the description.

To review your authorized OAuth apps, navigate to Applications on GitHub, and verify that an application named AWS CodeBuild (region) owned by aws-codesuite is listed.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.