Here is an example of working thing setup of course with a valid username/password for your cloud instance.
If you like, you can then add a valid application token to get the additional features.
You prove that it may be not as simple as I magined to setup such connection. So I just added an example in the documentation: