You can connect a wireless keyboard to your Mac in the same way that you pair any other Bluetooth device: through the Bluetooth menu.
If you see a Blue Screen when you connect a keyboard or a mouse to your Windows 11/10 computer, this post will help you fix the issue. Multiple causes can trigger this problem, such as corrupt system ...