> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.fynapse.app/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.fynapse.app/_mcp/server.

# Database Configuration and Management

> Learn how to configure database in Fynapse to meet your organization's specific needs by following a step-by-step user journey.

> **Info**
>
> The majority of this configuration is performed by users with the following security roles assigned:
>
> * [Editor](/documentation/instance-management/security/default-system-roles/editor)

## Journal Line Definition

[Journal Line Definition](/documentation/processing-configuration/journal-configuration/journal-line-definition) allows you to create the configuration for the Journal Entity
that will store Journal Lines comprising Journals in the Subledger. This is the de facto target of data processing in the Accounting Engine.

> **Info**
>
> Journal Line Definition is the first step in definiting your data model. Without a Journal Line Definition you cannot create a Business Event Definition.

## Business Event Definition

[Business Event Definition](/documentation/processing-configuration/business-event-definition) allows you to create the configuration for the Business Event Entity,
which stores raw ingested financial date that is later processed by the Accounting Engine into Journals.

## Journal Mapping

[Journal Mapping](/documentation/processing-configuration/journal-configuration/journal-mapping) is the process of mapping source data fields, from e.g. Business Event Definitions or derived attributes, to target data fields in Journal Line Definition.

## Data Structure Definition

[Data Structure Definition](/documentation/instance-management/data-structure/overview) is where you create Reference and Transaction Entities where you can store e.g. reference data that you can later use for [enrichment](/documentation/processing-configuration/business-event-definition#enrichment).

## Validations

[Validations](/documentation/instance-management/data-structure/validations-and-references) allow for any set of source data to undergo simple validation or combination checking. Such user-defined validations are general, i.e. they refer to all Fynapse modules. You can define validations for Defined Entities in the Data Structure and Protected Entities such as Journal or Business Event.