Follow the instructions in the official docs. https://www.home-assistant.io/integrations/zwave_js/#how-do-i-switch-between-the-official-z-wave-js-add-on-and-the-z-wave-js-ui-add-on
The ZUI add-on configures it for default use with HA and the integration, so MQTT is disabled to start with.