If you have already installed it, it’s simply in the Roborock app setting (if I recall well, particular device setting). If you don’t have token yet at all, you have manual in the Obtain token · jghaanstra/com.xiaomi-miio Wiki · GitHub (taken from https://community.homey.app/t/app-pro-xiaomi-mi-home-app)