GY max30100 sensor not working

You need to write code, just plugging it in will do nothing. It's like jumping into a taxi, and saying nothing. What would the taxi do?