Recently I had some troubles finding the correct Location attribute for CommandUIDefinition element.
So the easy way to do it turned out to be the following:
1. Open the page where you want to place your button.
2. Use Developer Tools/Firebug or whatever browser debugger you are using.
3. Select the tab where you want to place the button and have a look at the HTML.