Question: how to connect imessage from iphone to macbook air?
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.