We introduce a setup which realises a tunable engineered environment for experiments in circuit quantum electrodynamics. We illustrate this concept with the specific example of a quantum bit, qubit, in a high-quality-factor cavity which is capacitively coupled to another cavity including a resistor. The temperature of the resistor, which acts as the dissipative environment, can be controlled in...