---
title: Database
slug: tv-toolbox/database
icon: {"lucideIcon":"Database"}
createdAt: 2026-11-19T10:10:46.270Z
---

The first time you use the Technical Validation Toolbox it will prompt that you need to initialize the database. This process will create all required tables and out-of-the-box permissions so you can start using the app.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/IlM8-vzcR0T1AstKRfzV8_image.png)

## Initializing your database

1. In the **Technical Validation Toolbox**, navigate to **Administration** > **Configurations**.
2. In the **App** tab, you'll find a block dedicated to **Database**. It will say

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/0Zy5IvYCCZN9vjP2l2K8R_image.png" size="50" isUploading="false" width="642" height="358" darkWidth="642" darkHeight="358" showCaption="false"}

3. Click **Initialize Database**. A window will open
4. Check you have the required permissions and access and click **Start**. <font color="#2166AE">*The onboarding process takes care of all items, so you should be fine to proceed.*</font>

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/kGMzHBV1KVsPDh0fWD6oe_image.png" size="60" isUploading="false" width="3384" height="2122" darkWidth="3384" darkHeight="2122" showCaption="false"}

5. Choose a database solution. For the Technical Validation Toolbox you are only allowed to choose **MongoDB**. Click **Select** in the **MongoDB** card and then click **Next**.

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/mvCeip30EfVoBVAxuryTD_image.png" size="60" isUploading="false" width="3384" height="2122" darkWidth="3384" darkHeight="2122" showCaption="false"}

6. Test if you are able to connect to the database by clicking **Test Connection**. After the test connected successfully, click **Next**.

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/4X6uJYreRY15098bsLGVg_image.png" size="60" isUploading="false" width="3384" height="2122" darkWidth="3384" darkHeight="2122" showCaption="false"}

7. In the next step you can start the **Database Initialization**. It will run through all tables and create the missing ones, then it will create all out-of-the-box permissions. When done, click **Next**.



8. The database initialization has completed. You can now close this window and refresh the page. You'll notice the **Administration** menu item now has two new children: **Permissions** and **Audit Logs**.



















## Audit logging

The application audit logs every action taken by users. By default this is enabled and is set to retain data for 90 days.

1. In the **Technical Validation Toolbox**, navigate to **Administration** > **Configurations**.
2. In the **App** tab, you'll find a block dedicated to **Audit Logs**. Here you can:
   1. Enable or disable Audit Logging
   2. Set the Time to live (TTL) for audit logs.&#x20;
3. If you made changes, click **Save** in the top right.

:::hint{type="warning"}
Audit logging uses a Time-to-live (TTL) timestamp when the log entry is created. This means that changing the TLL does not affect existing log entries.
:::

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/SoASg1AhUIApJhsEHKe4d_image.png)



## Updating your database

When new versions of the App Builder release they can come with database changes. These changes require you to run a **Database re-initialization**. This process updates your database, adding missing tables and out-of-the-box permissions.

