Connecting X-Plane 12 with Mission Planner

I want to connect X-Plane 12 with Mission Planner for testing my own drone designs in it to simulate my drone before going to real world creation and get best PID values, Can anyone help me!!

Looking around in the forum ?

And/or in the documentation
https://ardupilot.org/dev/docs/sitl-with-xplane.html