Communication from Ably to MQTT

I wanted to know if there is an example to do it the other way round, that is from Ably to MQTT.
I need this for my IoT application where I am trying to send an instruction to change the sensor value from the webpage -> ably-> MQTT broker-> my Arduino and wanted to try an example to implement the data transfer from Ably to MQTT. I was unable to find a reference example to build my code.