Guidance on upgrading existing integration to use config_flow

I’m newer to developing integrations for HA. To start with, I’ve forked off an existing, stale integration and have been making some improvements. I’d like to try to change the setup to use config_flow instead of yaml. I’ve been reading through the documentation and most of it related to config_flow is setting up a new integration.

  1. Any good resources on adding config_flow to an existing integration?
  2. Specifically, is there any documentation on how to set it up so that the existing YAML config auto-imports into the new config_flow setup without the user needing to recreate the setup, like I’ve seen for some other integrations? (The user would still need to remove the old yaml code once imported/converted)