How do I connect my Xbox controller to my Macbook Pro?

How do I connect my Xbox controller to my Macbook Pro?
Pair an Xbox One wireless controller with your Mac

Turn the Xbox controller on.
Press and hold the Pairing button on the top edge of the controller until the Xbox logo blinks rapidly.
Go to Bluetooth settings on your Mac and look for “Xbox wireless controller” to appear in the device list.
Click the Connect button.

Pair an Xbox One wireless controller with your Mac
  1. Turn the Xbox controller on.
  2. Press and hold the Pairing button on the top edge of the controller until the Xbox logo blinks rapidly.
  3. Go to Bluetooth settings on your Mac and look for “Xbox wireless controller” to appear in the device list.
  4. Click the Connect button.