motherboard – How do I wire a momentary pull chain switch to a PC?

I’m wiring a momentary pull switch to the PC. I set the Windows 10 power button action to shutdown, so pulling the chain will turn on the pc if it’s off, and if it’s on, pulling the chain will send a shutdown signal to WIndows. Which ports on the motherboard should I connect the pull switch to make it do what I described above?