> For the complete documentation index, see [llms.txt](https://mandarineframework.gitbook.io/mandarine-ts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mandarineframework.gitbook.io/mandarine-ts/mandarine-data/orm/data-source.md).

# Data source

{% hint style="info" %}
Understanding of [Properties](https://mandarineframework.gitbook.io/mandarine-ts/mandarine-core/properties) is required for this article
{% endhint %}

## Adding a data source to Mandarine

In order to add a data source to your Mandarine's configuration file, you must add the following parameters to your JSON.

```javascript
{
    "mandarine": {
        "dataSource": {
            "dialect": "postgresql",
            "data": {
                "host": "",
                "port": 5432,
                "username": "",
                "password": "",
                "database": ""
            }
        }
    }
}
```

Remember to fill the JSON properties with your data source's information.
