# Quickstart

For getting started with VaultLogic you'll need to familiarize yourself with 3 key components: \
the [**VaultComponent**](/vaultlogic/code-and-design/components/vault-component.md), [**VaultItems**](/vaultlogic/code-and-design/items/vault-item.md), the [**CollectableComponent**](/vaultlogic/code-and-design/components/collectable-component.md).

## Vault Component

The vault component is essentially your inventory. It holds VaultItems grouped into different Vaults depending on the VaultType of the items definition, to get started simply add the component to your player character or player state.

## Vault Items

Vault items are UObjects that will represent items in your inventory. You can define an item by making a new subclass of UVaultItem in blueprints or c++.\
Making this new subclass will enable you to choose it as an item type in Collectable components (the most obvious workflow) or VaultComponents (if you want to make a vault start with certain items)

## Collectable Component

The collectable component is expected to be placed in Actors that will represent items in the world. It provides the interface to "pickup" such items and add them to the player inventory, also provides a solution to facilitate the Actor reflecting the item data (e.g: Set actor material color based on item rarity).&#x20;

Add this component to your pickup actors and in its settings you can select your new item you created in the previous step, you will see the properties of the item get populated into the details panel where you can change information about this  item on a per-instance basis.


---

# 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://friendlysadist.gitbook.io/vaultlogic/getting-started/quickstart.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.
