Question: how to connect messages from iphone to iphone?
Answer: Each device is signed in to iCloud with the same Apple ID.
On iPhone, go to Settings > Messages > Send & Receive. ... 
On iPhone, go to Settings > Messages > Text Message Forwarding, then choose which devices to allow to send and receive text messages from this iPhone.