Set up the Find My app to locate a missing Mac
If you misplace your Mac, the Find My app helps you locate and protect it. Before your Mac goes missing, make sure you set up Find My Mac in your iCloud preferences. You can locate and protect your Mac using the Find My app on another Mac, iPhone, or iPad, and on iCloud.com.
For more information about the Find My app on a Mac, see Locate a device in Find My on Mac.
Set up Find My Mac
On your Mac, choose Apple menu > System Preferences, click Apple ID, then select iCloud in the sidebar.
If you’re asked to sign in, enter your Apple ID. If you don’t have one, click Create new Apple ID, then follow the instructions.
Select Find My Mac. If asked to allow Find My Mac to use the location of your Mac, click Allow.
If a Details button appears next to Find My Mac, click the button, click Open Security & Privacy, click Location Services in the list, then click Enable Location Services.
The Details button appears if Location Services is turned off in Security & Privacy preferences.
If Enable Location Services is dimmed in Security & Privacy preferences, click the lock , then type the name and password of an administrator for the computer or use Touch ID. You can then turn on Location Services.