We will review the basics of pure spinor superstrings on flat and curved backgrounds. We will consider curved backgrounds with Ramond-Ramond fluxes in various dimensions and prove the classical and quantum integrability of the Type II pure spinor sigma-model.