To connect your Airpods to macOS devices you do the following.
Step 1. On your macOS device, click Enable Bluetooth. With macOS you do not necessarily have to put your headset into the newly connected box. You can open the cover (There are two earphones in the box) or take out the headset to connect.
Step 2. After turning on Bluetooth, the computer will scan devices including Airpods, just click and select Connect.
Step 3. Check if the Bluetooth interface connected successfully.
Step 4. You have successfully connected your Airpods to your Mac. Enjoy your music!