How do I connect an Arduino to a Pixhawk

Hello there!

I am need of understanding how to connect an arduino to a pixhawk for the purpose of future sensors. I currently have a Pixhawk 6x and an arduino uno for this project. If you can start from the very beginning with the basic wiring up to the programming that would be wonderful.