I’ve done that and its pretty simple. If you already have CloudMQTT running you just need to install Mosquitto and then set up the bridge like this: MQTT: Working Mosquitto / CloudMQTT Bridge
Use mosquitto_sub to see if messages arrive correctly on mosquitto.