Mohsen,
If your sensor is labeled as EEx d [ai] that means you have intrinsic safe associated component inside flameproof box.
You are allowed to install it in all three zones 0,1,and 2.
Certified barrier gland is mandatory on junction box.
Sensor, power supply etc. all must be connected as...