# Add to Asset Database

## Overview

![The Add To Asset Database Node.](/files/f7tvgi8yKF8OhJwKV4pg)

The **Add To Asset Database** **Node** adds an **Asset** to the [**Asset Database**](/incari-studio/2023.1/modules/asset-database.md).

If the **Asset** given as input is already in the **Asset Database**, the **Node** simply returns the corresponding **AssetID**.

The **Node** includes an `On Error` **Output Pulse** which gets triggered if there was an error adding the **Asset** to the **Asset Database**. For example, this will get triggered if an invalid *path* is given as input.

[**Scope**](/incari-studio/2023.1/toolbox/overview.md#scopes): **Scene**, **Function**, **Prefab**.

## Inputs

| Input             | Type       | Description                                                           |
| ----------------- | ---------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `File Path`       | **String** | *Path* to the file to be added to the **Asset Database**.             |

## Outputs

| Output             | Type      | Description                                                                                                                                                    |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution.                         |
| `Asset ID`         | **Any**   | **ID** of the Asset added to the **Asset Database**. This can then be converted to the corresponding **Data Type** depending on the **Type** of the **Asset**. |
| `On Error`(►)      | **Pulse** | **Pulse** that gets triggered when an error occurred and the **Asset** could not be added to the **Asset Database**.                                           |

## See Also

* [**Asset Database**](/incari-studio/2023.1/modules/asset-database.md)
* [**Remove from Asset Database**](/incari-studio/2023.1/toolbox/incari/asset/remove-from-asset-database.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2023.1/toolbox/incari/asset/add-to-asset-database.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
