Progresses in nanotechnologies allow nowadays to investigate light-matter interaction at the quantum level with artificial atoms (semiconducting quantum dots, superconducting Josephson junctions) embedded in solid-state cavities or waveguides. Such devices are promising candidates for scalable quantum communication and information processing (QIPC), and from a fundamental point if view, open brand new regimes for quantum optics. In this talk we will focus on two paradigmatic systems. First, we will consider an artificial atom coupled to a high-quality factor resonator. In such devices, the emitter’s linewidth can greatly overcome the resonator’s linewidth. This quite unusual situation for cavity quantum electrodynamics (CQED) leads to appealing applications for integrated nanophotonics, such as single photon sources controlled by decoherence. In a second part, we will investigate the properties of atoms coupled to photons propagating in waveguides or superconducting circuits, and show that these so-called one-dimensional atoms provide efficient single-photon amplifiers and quantum cloners.