Add custom menu to grasshopper main window

Hello,

I want to append a custom menu tab to the grasshopper UI using a C# PlugIn, similar to what Fologram or Speckle are doing:

I could not find documentation on how to do that, can someone guide me to existing documentation for that?

Many thanks in advance,
Lando

Nvm, I found this thread and will investigate more: