# 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.
