How to add button in the OlapClientToolBar

We can add a button in the Olap Client Tool bar and the customizable function can be written in the click event of that button. Please refer the below code snippet to know how to add button in the OlapClient Tool Bar.