---
url: /process-functions/blueprint-add.md
description: >-
  Adds an element to a blueprint without a parent. When published, it becomes a
  top-level element of the hierarchy.
---

# blueprint.add&#x20;

Adds an element to a blueprint without a parent. When published, it becomes a top-level element of the hierarchy.

::: warning Deprecated
Use [`blueprint.add(elementName)`](/process-functions/hierarchy-hierarchyblueprint#add) instead.
:::

```js
blueprint.add(name, elementName)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `name` | `string` | The blueprint's name. |
| `elementName` | `string` | The element's name. |

## Examples

```js
blueprint.add("Default", "All Accounts");
```
