If you already have a sensor for the temp light you will need a different sensor for the gauge. The warning light sensor is just an on-off switch. Finding the right sensor may be more difficult than you think because GM changed the resistance profile over the years. They are all 0-90 ohms, but the resistance that matches 1/4, 1/2,3/4, etc differs between sending units.
For example the original Delco sending unit for my ‘75 is no longer available, so I only found more expensive aftermarket reproductions online. But I was eventually able to find a standard sender at Autozone that puts the needle at just below mid gauge when the truck is about 185-190 degrees (my gauge is not marked in degrees).