How to run Jetson Tx2 onboard camera, together with deepstream application

i know there is a deepstream python script, deepstream-test1-usbcam which allow us to run deepstream with a usb camera and also i have researched on a discussion forum(use camera on jetson TX2 - #8 by ben.lemond) using the command: gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! xvimagesink which allows me to run the onboard camera live but idk how to link these two together