Let's create a new blank toolchain by going through the following steps. This is easily done from the Bluemix home page at https://console.bluemix.net/devops/:
- Go to the preceding URL, and then click on Create a toolchain. Then you pick the Build your own toolchain template as shown in following screenshot, you give the toolchain a name, and you click Create. Done!

- You will redirected to the Build your own toolchain page; fill in the details and click on the Create button.
- Once the toolchain is created, click on Add a Tool. Since the idea is to deploy it when the code is pushed to Git, the first thing to add is a GitHub integration. So let's select GitHub and then follow the steps. You will be prompted to authorize a GitHub account, and then give the URL of the repository you cloned earlier. Once this is done, an entry for your GitHub repository (and another for its issues, if you ticked that box) will appear in the toolchain, and we'll then add the deployment piece, which will respond to changes on our GitHub repository.