Setting up CloudMQTT

having some trouble with this setup…attempting to set up MQTT for use with OwnTracks, however, I’m confused about the instructions.

The top of the page states: To integrate MQTT into Home Assistant, add the following section to your configuration.yaml file:

Example configuration.yaml entry

mqtt:
broker: IP_ADDRESS_BROKER
port: 1883
client_id: home-assistant-1
keepalive: 60
username: USERNAME
password: PASSWORD
certificate: /home/paulus/dev/addtrustexternalcaroot.crt
protocol: 3.1

The down at the bottom for setting up CloudMQTT states: Copy the instance info to your configuration.yaml:

mqtt:
broker:
port:
username:
password:

So, am I supposed to have both of the example mqtt configs in my config.yaml? for the top config, I assume the ip address of the broker is the IP address of the machine i have this set up on? Please help

The first example just show all available options. You only need the configuration shown in the CloudMQTT section.