If you continue to use MQTT 1.x (which I don’t recommend) see MQTT Binding (v1.11) Getting Started 101.
If you use MQTT 2.x which I highly recommend start with the binding docs and MQTT Generic Thing docs. Then search the forum for “MQTT 2.4” and you will see lots of examples.