This is how WiFi-enabled printers and bathroom scales work, too.
Does it mean that I have to disconnect from my home wifi and loose ability to google stuff during this process?
The power chord is a USB cable. My guess was that you set it up on your computer via USB.
google.com/chromecast/setup gives you a link to download a native computer app. Looks like it does some wifi search from the native app to "pair" and setup the device.