Question: how to connect iphone messages to mac messages?
Answer: Select Messages -> Preferences... in the menu bar. Select the iMessage tab. Tick the box next to Enable Messages in ‌iCloud‌ (this will keeps your messages in sync between your Mac and your iOS devices). Tick the phone number and email addresses at which you would like to be reached.