Add configuration of mqtt.