How To Use Use Accelerometer Sensor(MIT App Inventor) To Control Servo Motor

I am the new user to be use this software. Actually, i have try to make the arduino coding and the Mit block coding to control the servo by using the handphone accerelometer sensor but it was not work. Could anyone please help. Is there any different if i use the HC05 bluetooth sensor or HC06 Bluetooth sensor? At the Mit block coding, could i join the Bluetooth call text with the text label? How can i send the accelerometer data to the arduino to control the servo. i hope that anyone could be able to help me. it was very important for me thank you very much.

Show us the Arduino code too.

i hope that you all could able to help me it was very important for me thank you very much