How do you open a dermamenu with a hotkey?

I have been thinking of an idea for a menu and i want to know how to open that menu with a hotkey like the user joins the server and can press insert or something and a menu pops up how can i do that??

Please use Google before making a thread