How do I transfer the contacts on my iMac to my iPhone?

how do I transfer the contacts on my iMac to my iPhone?

I somehow lost all my contacts on my iPhone 5. Want to get them back.
Re: how do I transfer the contacts on my iMac to my iPhone?

If the contacts are associated with an email account, go to the mail setting and either reconfigure the email account or re-enable the toggle next to "Contacts", if disabled.
Re: how do I transfer the contacts on my iMac to my iPhone?

In your Mac's settings, set up iCloud, and opt to sync contacts

Original thread: https://forums.imore.com/threads/how-do-i-transfer-the-contacts-on-my-imac-to-my-iphone.349370/