# The aim of this tutorial is to show how to create an AWS Codestar connection between the repository (GitHub or Bitbucket) to AWS CodePipeline.
Creating a connection for Bitbucket
1. Log in to the Shared-Services Account and go to Codepipeline.
2. Go to Settings → Connections
3. Choose your provider. E.g: Bitbucket
4. Give a name for your connection (e.g: BitbucketConnection)
5. Click in "Install a new app"
6. Authorize App
7. Connect to Bitbucket
8. Connection Created
Creating a connection for GitHub
1. Creating Connection
2. Install a new app
3. Choose your project
4. Set all repositories
5. Click on Connect
6. Copy the ARN connection and send to DNX team