miniPC power on/off button duplicate

Hello everyone.
How could I duplicate the power ON/OFF button using minipc (MELE QUIETER HD3Q) hardware?

I cannot use original button on the minipc case, because my DIY project has a new case... With PI4 its very easy, because Rasperry has not a power on/off switch



thanks
 
Thak you DRONE7, Unfortunally I can't use original power board because new cabinet has own power led button. I read about the possibility of some BIOS setting that automatically restarts the PC at each power failure. It could be a solution because this condition can be handled with the new on/off button. Do you know something about this BIOS setting?
Thanks