Home Assistant Auto Discovery (Zeroconf)

Hello, im working on a integration. but to add the devices i have to manually enter the ip adress. instead i want to have auto discovery. i know that i can use zeroconf but i cant really find a good documentation on how to implement it. (PYTHON)
Thank your for your help

Other than the developer docs for config flow,

You can have a look at this. See in the manifest file and config_flow.py at the async_step_zeroconf method.