# AI Assist

> Describe your business and who you sell to; AI proposes the scoring rules.

Every section below does the same job: in the dashboard (Guide), from your code (API) or through an AI assistant (MCP).

## Guide — In the dashboard

Source: /docs/qualify/ai-assist

No time to write rules? AI Assist reads your website (or your description), asks who you sell to, and proposes rules you accept or skip one by one.

<DemoFrame guide="qualify-ai-assist" to="/score-model/{workspace}" />

1. **Open a model → ✦ AI Assist.**
2. **Let it read your website**, or describe your business yourself.
3. **Generate rules**, then accept or skip each one and save.

### Every control on this screen [#every-control-on-this-screen]

Every button, field and switch, with what it does.

<ScreenControls screens={["qualify-ai-assist", "qualify-prompt-wizard"]} />


---

## API — From your code

Source: /docs/qualify/ai-assist/api

Authenticated with `?privateKey=YOUR_KEY` (see [Authentication](/docs/authentication)).

<Endpoints ops={["POST /v3/lead-scoring/ai-generate"]} />

<ApiPlayground
  ops={["POST /v3/lead-scoring/ai-generate"]}
  method="post"
  path="/v3/lead-scoring/ai-generate"
  tool="ai_generate_scoring_model"
  args={`{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "description": "We sell HR software to UK and US companies with 50 to 1,000 employees; HR directors and COOs buy it."
}`}
/>

### Use case: A model per product [#use-case-a-model-per-product]

Call `POST /v3/lead-scoring/ai-generate` once per product line with its own description.


---

## MCP — AI agents

Source: /docs/qualify/ai-assist/mcp

Connect the [MCP server](/docs/mcp#quickstart), then just ask.

<Tools names={["ai_generate_scoring_model"]} />

### Use case [#use-case]

> Build me a scoring model: we sell HR software to UK and US companies with 50 to 1,000 staff.

<McpToolCall name="ai_generate_scoring_model">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "description": "HR software for UK and US companies with 50-1,000 employees; HR directors and COOs buy it."
}
```

</McpToolCall>

