# Add to Asset Database

## Overview

![The Add To Asset Database Node.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-5fb587e8642603e4a73969c736deb21f72399569%2Fnode-add-asset-to-database.png?alt=media)

The **Add To Asset Database** **Node** adds an **Asset** to the [**Asset Database**](https://docs.incari.com/incari-studio/2023.2/modules/asset-database).

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**](https://docs.incari.com/incari-studio/2023.2/overview#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**](https://docs.incari.com/incari-studio/2023.2/modules/asset-database)
* [**Remove from Asset Database**](https://docs.incari.com/incari-studio/2023.2/toolbox/incari/asset/remove-from-asset-database)
