MQTT Connect to broker "Settings as JSON"

Ok, I guess I have to be more specific with my question.

I want to connect to a server (over websockets) but I don’t know where to fill in all the settings in the extension. I guess It should be in the - Connect to broker “Settings as JSON” but I don’t know how to format that information.

I have the following information about the server:

Key: xxxxx2-6a5a-4ae8-9750-xxxxxxxx
Name: xxxxxx

Host: mqtt.cloud.xxxxx.com

Topic: xxxxxxx

Username and password.

The MQTT data is sent as a JSON array. A single-packet-array with all sensor data enabled will look like this:

JS
[{
{
“version”: “1”,
“tagId”: “24576”,
“success”: true,
“timestamp”: 1524496105.895,
“data”: {
“tagData”: {
“gyro”: {
“x”: 0,
“y”: 0,
“z”: 0
},
“magnetic”: {
“x”: 0,
“y”: 0,
“z”: 0
},
“quaternion”: {
“x”: 0,
“y”: 0,
“z”: 0,
“w”: 0
},
“linearAcceleration”: {
“x”: 0,
“y”: 0,
“z”: 0
},
“pressure”: 0,
“maxLinearAcceleration”: 0
},
“anchorData”: [],
“coordinates”: {
“x”: 1000,
“y”: 1000,
“z”: 0
},
“acceleration”: {
“x”: 0,
“y”: 0,
“z”: 0
},
“orientation”: {
“yaw”: 0,
“roll”: 0,
“pitch”: 0
},
“metrics”: {
“latency”: 2.1,
“rates”: {
“update”: 52.89,
“success”: 52.89
}
}
}
}
}]

Does anybody know how to connect to the server?

Cheers

Farid