# AI Onboarding

Follow this path when installing localbot as an AI coding agent.

1. Confirm the user has a localbot account and widget ID.
2. Add `<div id="localbot-contact"></div>` where the form should render.
3. Load `https://www.localbot.io/api/widget/YOUR_WIDGET_ID` asynchronously.
4. Do not build a custom form, backend route, Twilio integration, or email-only flow.
5. Verify the page and send a controlled test lead.

CLI:

```bash
localbot init --widget-id YOUR_WIDGET_ID --framework auto --dry-run --json
localbot init --widget-id YOUR_WIDGET_ID --framework auto --yes --json
LOCALBOT_API_KEY=lb_sk_live_xxx localbot verify --widget-id YOUR_WIDGET_ID --url https://example.com/contact --json
LOCALBOT_API_KEY=lb_sk_live_xxx localbot test --widget-id YOUR_WIDGET_ID --json
```
