Autonomous Jetson Nano and Px4

Hi, I am trying to do off board control on a Px4 using a Jetson Nano. I want to connect it using QGroundControl and Pymavlink, however I am unsure how to do this (not using ROS). I am connecting it via the TELEM2 port. Any help would be appreciated