How do I connect an existing app with Shopify CLI 3?

Could you help me with the steps required to connect an existing app with Shopify CLI ? I have read the migration doc but not understanding what i need to do!

Any luck wth this? I created a new app using shopify app init to create a dev person. I can simply change the heroku git repo but I created extensions that need to be deployed and associated with the app config