To connect to Flame Boss Cloud MQTT broker using any MQTT client, you will first need to sign up for an account on myflameboss.com. Then you will need your MyFB API token. To do this, use an HTTP client to create a POST request to https://myflameboss.com/api/v4/sessions with your login info. Here is an example command:


curl -X POST https://myflameboss.com/api/v4/sessions -d session[login]=ben@flameboss.com -d session[password]=this_is_a_fake_password

The response will contain your API token:

{"user_id":39174,"username":"benjaminspeakman","auth_token":"example_fake_auth_token"}


Then use an MQTT client to open a connection to a MyFB cloud server. The username is formed by prepending "T-" to the user_id in the response above, and the password is the auth_token. Here is a screenshot showing an open connection using the client MQTTlens: