@Alex Carluccio Welcome to Microsoft Q&A!
If you are connecting to IoTHub, HostName is your IoTHub name and SAS is Shared Access Signature which is generated by you.
There are two ways to obtain DeviceConnect permissions with IoT Hub with security tokens: use a symmetric device key from the identity registry, or use a shared access key.
Please go through Control access to IoT Hub using Shared Access Signatures and security tokens for more details.
A device can use the MQTT protocol to connect to an IoT hub using any of the following options.
- Libraries in the Azure IoT SDKs.
- The MQTT protocol directly.
I would suggest you take a look at the documentation Communicate with your IoT hub using the MQTT protocol
Regarding your query on Connect Sensortile to Microsoft Azure please provide more details if you are trying to connect this device to IoT Central?
Hope this helps. Do let us know if you have any further queries.
If the response is helpful, please click "Accept Answer" and upvote it.