If the integrated sensor looks like the one in the second picture, then it is the G4 Speed Sensor and you need the badassBox 4 Bosch G4-Set.
If the Bosch Sensor (first picture) is mounted easily accessible on your chainstay, you only need a badassBox 4 Bosch.
The badassBox 4 Bosch X-Set includes all the parts you need to mount the badassBox 4 on your e-bike with a Bosch mid-mounted motor and Bosch Sensor integrated in the dropout:
badasBox 4 bosch
Universal Adapter
Spoke magnet with thumb screw
With the badassBox 4 Bosch X-Set you not only get all the necessary parts to tune your e-bike in one 'click', but you also save money.
The integrated Bosch Sensor is located in the area of the dropout.
To get to the sensor you have to dismount the rear wheel.
Find the position of the integrated sensor* in the dropout of your e-bike.
*The sensor shape shown is an example.
Undo the screws of the bracket that holds the sensor* is fastened to the dropout.
*The sensor shape shown is an example.
Fasten the Universal Adapter with cylinder head screw, washer and nut (included in delivery) to the Bosch Sensor*.
*The sensor shape shown is an example.
Now you can attach the Universal Adapter with mounted Bosch Sensor* on the chainstay with supplied cable ties.
*The sensor shape shown is an example.
Slide the badassBox onto the adapter until it clicks into place.
Reinstall the rear wheel.
Mount the spoke magnet and align it with the edge of the badassBox housing. That's it. Have fun with your faster e-bike!