First, go to GitHub Marketplace:

Next, srolling down at bottom page, click Install it for free button:

Input some Billing information and click Save button:

At review your orther page, click Install other and begin installation button to install:

Next, grant perrmission for “AWS Connector for GitHub” application. You can specific particularly repository or allow to access all repositories. Click Install & Authorize buton:

Verify installation at GitHub Application:

Go to AWS Connection inside AWS CodePipeline setting:
