How can i design a wifi device to work with Home Assistant

I am the founder of a startup. we have designed our own devices, based on wifi. how can we make sure these devices work with home assistant? I need urgent help with this.

You have a number of options.

  1. Use an existing protocol like restful, mqtt, or the ESPHome API. The last two support discovery, the first does not.
  2. Create your own integration:

I think most end users would prefer the ESPhome route since we know it will be fully local, open source and easy to play with.

we want our devices to show as other company devices show in the home assistant. like i have a samsung tv. when i install home assistant. it shows smasung tv immediately.

I am using mqtt to connect to aws. but how should i use it to connect to home assistant locally??