macOS App Onboarding
First-run onboarding experience for the Clawdbot macOS application.
Overview
This guide describes the first-run onboarding experience for Clawdbot's macOS application, covering setup from initial launch through agent bootstrap.
Setup Flow
The onboarding follows 8 steps:
Step 1: Welcome
Initial welcome screen with security notice about Clawdbot's capabilities.
Step 2: Gateway Selection
Choose your Gateway mode:
| Mode | Description |
|---|---|
| Local | Runs Gateway on this Mac (recommended) |
| Remote | Connect to Gateway via SSH/Tailnet |
| Configure Later | Skip Gateway setup |
Step 3: Authentication
For local setups, authenticate with your AI provider:
- Anthropic OAuth - For Claude Pro/Max subscribers
- Anthropic API Key - Direct API access
- OpenAI - GPT models
- Other Providers - Various options
The OAuth flow opens your browser for PKCE authentication. Paste the code/state value when prompted.
Credentials stored in: ~/.clawdbot/credentials/oauth.json
Step 4: Setup Wizard
Gateway-driven configuration for:
- Port and network settings
- Channel integrations
- Skill installation
Step 5: Permissions
macOS requires explicit permission grants:
| Permission | Purpose |
|---|---|
| Notifications | Alert you to messages and events |
| Accessibility | Keyboard and UI automation |
| Screen Recording | Screenshot and screen capture |
| Microphone | Voice input and transcription |
| Automation | AppleScript control |
Grant permissions as prompted. Some features require specific permissions to function.
Step 6: CLI Installation
Optional installation of the global clawdbot command:
# Installed to /usr/local/bin/clawdbot
clawdbot --versionStep 7: Onboarding Chat
A dedicated session for agent introduction:
- Agent creates workspace (
~/.clawdbot/workspace) - Seeds initial files:
AGENTS.md,BOOTSTRAP.md,IDENTITY.md,USER.md - Conducts Q&A to personalize your experience
- Learns your preferences and use cases
Step 8: Ready
Setup complete. You can now:
- Chat with your assistant
- Configure additional channels
- Install skills
- Customize your workspace
Gateway Modes
Local Mode
- Gateway runs on your Mac
- OAuth flows work directly
- Credentials stored locally
- Best for personal use
Remote Mode
When using a remote Gateway:
- All credentials reside on the Gateway host
- Workspace files are on the remote machine
- Local Mac acts as a client only
- Useful for shared or server deployments
Agent Bootstrap
On first run, the agent:
- Creates workspace directory
- Seeds instruction files
- Conducts personalization Q&A
- Configures initial preferences
Bootstrap Files
| File | Content |
|---|---|
AGENTS.md | Agent behavior and capabilities |
BOOTSTRAP.md | First-run instructions |
IDENTITY.md | Agent identity information |
USER.md | Information about you |
Troubleshooting
Permission Issues
If features don't work:
- Open System Preferences → Privacy & Security
- Check each permission category
- Ensure Clawdbot is enabled
- Restart the app if needed
OAuth Failures
If authentication fails:
- Check your internet connection
- Verify your subscription status
- Try manual API key entry
- Check
~/.clawdbot/credentials/for issues
Gateway Won't Start
- Check if port 18789 is available
- Review logs in
/tmp/clawdbot/ - Try
clawdbot healthfrom terminal
Next Steps
- Setup Guide - Detailed configuration
- Building an Assistant - Create your assistant
- Channels - Connect messaging platforms