# Generating data to a database connection

{% hint style="info" %}
Database connections are currently in private preview. To request access, contact Tonic.ai.
{% endhint %}

{% hint style="info" %}
Database connections require an Enterprise license.

Your external database must allow connections from the following Fabricate IP addresses:

* US instance (<https://fabricate.tonic.ai/>)
  * 184.72.239.148
  * 3.231.122.192
* EU instance (<http://eu.fabricate.tonic.ai/>)
  * 3.67.149.135
  * 3.69.97.191
    {% endhint %}

For a live connection database, data is always generated to a [database connection](https://docs.tonic.ai/fabricate/data-agent-databases/data-agent-database-connections). For other Data Agent databases, if you set up database connections, you can generate data to a database connection.

To generate data to a database connection, prompt the Data Agent. If you have a populated database connection to work from as a resource, you can base the generated data on that database connection. Unless you specify otherwise, Fabricate generates all new data and does not use data from another data connection.

For example:

`Populate the default database using the same profile as the prod database, but scale up the data volume to 1,000 customers. Use the same products as the prod database.`

You can also add records to a database:

`Add another 500 customers to the default database while maintaining the existing profile.`

By default:

* For a live connection database, if you don't specify a database connection to use, the Data Agent uses the default database connection.
* For other Data Agent databases, the Data Agent generates data in Fabricate.

To generate data to a specific database connection, include it in the prompt:

`Add 25 customer records to the Other connection database.`
