Unable to establish connection to Git from CodeBuild and CodePipeline

Hello,
I am unable to establish a connection to GitHub from CodeBuild and CodePipeline.
Below is the error displayed.

User: arn:aws:iam::730335641116:user/kk_labs_user_600475 is not authorized to perform: codeconnections:StartOAuthHandshake on resource: arn:aws:codeconnections:us-east-1:730335641116:* because no identity-based policy allows the codeconnections:StartOAuthHandshake action
How to resolve this issue?

Are you doing this in connection with a lab (in which case: please include a link to the lab), or are you trying this “free style” in the AWS playground?