iPower Motor GM3506 Brushless Gimbal Motor w/ AS5048A Encoder

I recently bought this motor and encoder for a personal project and I cannot get either the motor to run or the encoder to work. There is no/ limited documentation specifically on the encoder wiring and I am concered I receieved a faulty component.