How to add buttons or text elements to the topbar of dashboard 1?

I found this, and it happens to be able to solve the problem.