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