OpenClaw comes with an interactive wizard that creates your config directory and installs the background daemon in one shot. Run it:
openclaw onboard --install-daemon
The wizard asks you questions. It wants to know where to store config files and which platform to connect first. It also asks which AI provider to use and whether to install the daemon now. For your first run, just accept the defaults.
When it finishes, you'll see a summary of each file it created. The most important one is ~/.openclaw/gateway.json. That file holds your daemon's auth token and port. Remember where it is.