Please help me with my BMI160 IMU

Hey folks. I am currently working on a project involving the bmi160. Everything works fine, I get values when I move the sensor, the code gives me no errors and all the connections are perfect.
(I used this website to help me
I am having this issue where the accelerometer of my bmi160 gives of values that are in the thousands, and that the acceleration in the z direction is always non zero.
I need help with two things:
How can I convert the values coming from the imu into units of m/s^2 or gs(in terms of 9.8 m/s^2)?

How can I calibrate so that does not constantly show the constant gravitational pull?

Thank you for any responses