# create

URL: /business/nouns/product-template/create · Id: `verb:ProductTemplate.create` · Call: `await $.ProductTemplate.create({ … })` (SDK) or the `do` tool at `https://api.sb/mcp`. Inputs says what to pass, Outputs what returns, When it waits who approves.

> Creates a Product Template.

Create makes a new [Product Template](/business/nouns/product-template) from the inputs below. It is inherited: every [Noun](/business/nouns/noun) has `get`, `list`, `create`, `update` and `delete`.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `slug` | `string` | Yes | The page path under `/start/templates/products`. |
| `kind` | `string` | Yes | The abstract Product: `data`, `software`, `agent`, or `service`. |
| `supply` | `string` | Yes | Who supplies the work: `digital`, which is unlimited, or `human`, which is recruited and credentialed. |
| `worker` | `string` | Yes | Who does the work: `agents`, `humans`, or `agents-and-humans`. |
| `buyer` | `string` | Yes | Who buys: `human`, `agent`, or `human-or-agent`. |
| `earningModel` | `string` | Yes | How it earns: `subscription`, `usage`, `commerce`, `marketplace`, or `directory`. |
| `assurance` | `text` | No | What the buyer can rely on, in one sentence. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `productTemplate` | [Product Template](/business/nouns/product-template) | Yes | The Product Template. |

## Effects
- Emits `ProductTemplate.created`.
- Two-way: `try`, `send`, `do`.

## Refuses when
| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | [ProductTemplate.create](/business/nouns/product-template/create) |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Low: two-way, nothing at stake |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | None: it runs once review passes. |
| Limit | The call [Limit](/business/nouns/limit) of the [Permission](/business/nouns/permission) it runs under. |
| Over the Limit | It waits `pending` for an [Approval](/business/nouns/approval) from the [Founder](/agents/founding/founder). Approved, it runs; refused, it ends `refused` with [`limit-exceeded`](/code/api/errors/limit-exceeded); unanswered by its deadline, it ends `canceled`. |

## Example

**Ask**

```text
Add a product template to RouteWise.
```

**API**

```bash
curl -X POST https://api.sb/routewise.dev/product-templates \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"route-wise","kind":"data","supply":"Example supply","worker":"agents","buyer":"human","earningModel":"subscription"}'
```

```json
{
  "api": "https://api.sb/routewise.dev",
  "productTemplate": {
    "$id": "https://api.sb/routewise.dev/product-templates/product_template_1",
    "$type": "ProductTemplate",
    "slug": "route-wise",
    "kind": "data",
    "supply": "Example supply",
    "worker": "agents"
  },
  "action": {
    "$id": "https://api.sb/routewise.dev/actions/action_1",
    "operation": "ProductTemplate.create",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/routewise.dev/actions/action_1"
  }
}
```

**SDK**

```ts
import { $ } from 'startup-builder'

const productTemplate = await $.ProductTemplate.create({ slug: 'route-wise', kind: 'data', supply: 'Example supply', worker: 'agents', buyer: 'human', earningModel: 'subscription' })
```

**CLI**

```bash
npx startup-builder do ProductTemplate.create --json '{"slug":"route-wise","kind":"data","supply":"Example supply","worker":"agents","buyer":"human","earningModel":"subscription"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.ProductTemplate.create({ slug: 'route-wise', kind: 'data', supply: 'Example supply', worker: 'agents', buyer: 'human', earningModel: 'subscription' })"
  }
}
```