Set up Find My on Mac
Before you can share your location with your friends and find your Apple devices and items, you need to turn on Location Services and Find My Mac. You can do this when you open Find My for the first time or later in System Settings.
Turn on Location Services
On your Mac, choose Apple menu > System Settings, then click Privacy & Security in the sidebar. (You may need to scroll down.)
Click Location Services on the right.
Turn on Location Services, then turn on Find My in the list of apps.
If you don’t see Find My, go to System Services in the list of apps, click Details, then turn on Find My Mac.
Set up Find My Mac
On your Mac, choose Apple menu > System Settings, then click [your name] at the top of the sidebar. If you don’t see your name, click Sign in with your Apple ID to enter your Apple ID or to create one.
Click iCloud on the right, then click Find My Mac.
If Find My Mac isn’t in the list, click Show All.
Click Turn On, then click Allow when asked to allow Find My Mac to use the location of your Mac.
Click Done.
If the Find My icon in iCloud settings has a warning badge , make sure you turned on Location Services and Find My in Privacy & Security settings.
For details about privacy and how you can control what information on your Mac is exposed, see Guard your privacy.