Connectors and Pinouts

I have an infrared temp sensor and a 3 axis accelerometer. What kind of 4 pin connector do I need to connect to these devices? What are the pinouts of these devices?

Connector: 4 Pin JST 2mm pitch. You can get cable in seeedstudio depot.
Pinout: … ure_sensor … elerometer