GPS data from PIxhawk

Hey Guys,

I am currently building an autonomous boat using Pixhawk 4 with Arduino Mega for some on board data processing. How should I connect the Arduino to Piwhawk to get the GPS data from PIxhawk?