System preferences > General > Allow Handoff between this Mac and your iCloud devices.
System preferences
General
Allow Handoff between this Mac and your iCloud devices