Question: how do i connect my iphone messages to my computer?
Answer: Open Settings. app.
Go to "Messages" and make sure iMessage is On.
If iMessage is on, "Send & Receive" will appear below it. ... 
Make note of the Apple ID at the top of the page.
Select your phone number and email address(es) that you want to sync to that device.