You have to take off the upper manifold (big silver metal piece) to plug in the CPS. Number 13 in the diagram
http://www.realoem.com/bmw/showparts...11&fg=40&hl=13 The sensor is about $100 for it at the dealership. They have an updated one which is a little bigger in size but it will fit.