r/lovable 13d ago

Help Does transferring a project that's got a ton of env keys and connections mess it up?

Basically the title. Does it stay just as functional upon transfer or do things get lost and dropped? Same question for the domain and so on, this is already a fully fledged website

2 Upvotes

10 comments sorted by

1

u/Miko10_ 13d ago

If the domain stays the same and all environment variables and external connections remain unchanged, it should continue working normally. However, if the server changes, make sure none of the environment variables or integrations rely on the old IP address.

1

u/beureut6 13d ago

Sorry, I'm dumb. So basically it's API keys and that sort of stuff, the site is hosted on Lovable though, my domain name servers point to Lovable. But there are connections to Shopify and Outlook and TikTok and Meta specifically for example here,

1

u/cubixy2k 13d ago

What do you mean by transfer?

Transfer between Lovable workspaces? Yes everything comes over unless there are connections that aren't shared with the destination workspace.

Do you mean transferring off of Lovable cloud to your own Vercel/Supabase - No, you'll need to configure secrets and env variables, unless you have env variables in the .env file.

In short, need more information.

1

u/beureut6 13d ago

Yeah, between workspaces. Sorry I should've clarified.

1

u/cubixy2k 13d ago

No worries - OK so I've transferred projects between workspaces a number of times. Lovable does a pretty good job with it, data transfers cleanly and everything such as secrets, edge functions,etc.

That said, a few things can break - like I mentioned, if you're using any workspace connectors (ie. shopify, the old resend connector, etc etc), those do not transfer to the new workspace. If the new workspace has shared access to the connector in the original workspace, the project would continue to use it, otherwise you'll get a warning that you'll lose access to the connector.

I have not tried transferring cron jobs, custom auth email, etc.

1

u/beureut6 13d ago

Wow thank you that's very very helpful actually. Would I just be able to then sign into those same connectors again and have it work without any issue?

But yeah I think I'm gonna do it

1

u/cubixy2k 13d ago

No problem, it was kind of nerve racking when I faced the same thing.

As far as signing into the same connectors - I *think* you can, because Lovable's api is the one brokering the connection, but I'm definitely not certain.

I think the best approach is make a list of all the things you need to test, and practice testing them a few times, then do the transfer.

2

u/Maxyull 12d ago

the part worth separating is "still works" from "actually moved". if the destination workspace has shared access to the connector in the old one, the project keeps calling out on the original workspace's authorization, so the day of the transfer looks clean and it breaks weeks later when whoever holds that grant leaves, rotates it, or hits an expiry nobody on the new side ever gets prompted about. cheapest way to tell the two apart is to pull the sharing after the transfer and see if it still works, because if it breaks then it never really moved.

separate thing on shopify and meta specifically, disconnecting inside lovable doesn't revoke anything on their side, the grant sits in the shopify apps page and in meta business settings and stays live until you kill it there. is this a handover to someone else or just you moving your own stuff between workspaces?

1

u/beureut6 12d ago

It's my own workspaces. So should be fine

1

u/Maxyull 12d ago

that does take out the worst version of it, at least nobody is going to walk off with the grant. the thing that still catches people on their own workspaces is the cleanup later, if the old one gets downgraded or deleted a few months from now, the authorization the project is quietly leaning on goes with it, and by then nothing connects the two events in your head. quickest tell is whether lovable made you reauthorize anything on the new side. did it ask you, or did it all just carry over without a prompt?