Question: how to connect my imessage to my macbook?
Answer: Open the "Messages" app from your dock or the "Applications" folder.
In the upper menu bar, click on "Messages" and then "Preferences."
Tick the checkbox next to "Enable Messages on iCloud." Enable the pictured box. ... 
You can then click "Sync Now" to sync your iMessages.