You control the product with either method from then on.
When first setting up smart products you’re usually forced to start with the official app, before then linking it to Amazon's Alexa, Google Home or the Apple Home app. You control the product with either method from then on.