How can ı send accelerometer data to google sheets

There are various ways. A simple way is to use Blocks like this

to capture the data to a List and post the results to a Label in real time.

Here is a discussion of a very sophisticated Accelerometer app that plots the points from three axes.
Plotting a line graph using canvas - #2 by SteveJG and an aia.