Question: how to connect apple wireless keyboard to mac mini?
Answer: Turn on your device.
Wait until your device's LED starts blinking, which means that it's in Discoverable Mode. ( ... 
Choose Apple menu > System Preferences, then click Bluetooth.
Wait while your Mac searches for your device.