Have you looked at the tutorial?
http://files.andymark.com/ADI_FRC_Gy...rd_LV_2016.pdf
In theory, what you want to do is: Determine a desired gyro angle, and adjust power to the wheels as you drive to keep you pointing in that direction. There may be functions in the libraries that do most of that for you.