OpenClaw comes with an interactive wizard that creates your config directory, generates auth tokens, and installs the background daemon in one shot. Run it:
openclaw onboard --install-daemon
The wizard asks you 4 questions: where to store config files, which platform to connect first, 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 every 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.