The ADXL345 example projects in LabVIEW have details on exactly how to wire it and exactly how to initialize and read values from it. I’ve only ever used the I2C communication, but I know it works, and it only uses four wires.
We used 2 PWM cables for our SPI device. One was oriented traditionally and had power, ground, and one signal for the device. The other was oriented horizontally and carried the other 3 signals.