Here, we present a protocol for typical experiments of soft X-ray absorption spectroscopy (sXAS) and resonant inelastic X-ray scattering (RIXS) with applications in battery material studies.