Encoder wiring

So I have the AS5030 8-bit Programmable Magnetic Rotary Encoder but I don’t know how to wire it. When I am coding (in java) it requires 2 channels, but the board that we got only has one 3 prong connector coming out, does anyone know how to wire this?

The AS5030 is not a quaderature encoder and can’t be used with WPILib’s encoder class. I suggest you become very familiar with the sensor’s data sheet so that you can write code to interface with it.