How to add a button to the header area?

It is explained here, but when I write the necessary codes, it does not work.

I enabled now you can look, thank you for help :pray: