Connect to new wifi

I’m going to move from my old WiFi setup to a new mesh solution, but in the app the option for change device WiFi network is greyed out (it’s not connected by cable).
Do I first setup the new wifi first? Does this only get available when hub has no connection?