Arduino Uno Wifi connecting to MQTT via ciao

Hi

I have joust got an Uno Wifi and am trying to connect to adafruit MQTT server.

I have set up the communications in the ciao console but do not understand all the parameters.

Also I do not know where the API key goes, either in the ciao console or in the sketch.

I have had successful connection to a Rest site with no problem so I know the wifi works ok.

Any help / example would be great