How to work with VS1838B infrared sensor

Hello, I’m using a NUCLEO F401RE and I’m trying to connect the VS1838B sensor infrared to my board. Can you help me for the code in cpp? I didn’t find nothing in the forum and on google.

Let me know,
thank you regards