Question: how to connect messages to your mac?
Answer: Go to Settings > Messages on your iPhone and tap on Text Messages Forwarding. You will see your Mac (or Macs) listed here with an on off slider beside them. To allow your Mac to send and receive text messages turn the slider to green.