How to migrate from lovable cloud to supabase?

I need to migrate from lovable cloud to supabase, and i found that instructon Self-hosting: Run your Lovable Cloud project anywhere - Lovable Documentation.
But there is a problem. When i open .env and supabase/config.toml and set my own creds and click save lovable shows as everyting saved sucessfully, but then returning to the files i find that lovable automatically reseted that creds to lovable cloud’s
I can’t find out how to migrate slightly

there is no “disconnect button”

When i try to set up new creds to env and supabase/config.toml files lovable rewrites it with his own and dont allow me to change it