# Fabricate data generation

The Fabricate Data Agent provides an AI chat interface to create and configure a database.

It allows you to quickly create a single set of data that you can export to a database or files, or generate to an external database.

## Creating and configuring data <a href="#create-config-data" id="create-config-data"></a>

The database creation as well as all changes to the database definition and data go through the Data Agent.

For example, to start, you might tell the Data Agent to `Create a database of transaction records that are linked to customer and product records`.

The Data Agent asks questions to clarify the data to create. For example, it can ask for the number of customers or products, or how many orders to create for each customer. You can [configure how the Data Agent behaves](https://docs.tonic.ai/fabricate/data-agent-chat/data-agent-behavior-config), providing general context and determining how verbose and autonomous the Data Agent is.

Based on the initial results, you can provide additional prompts to adjust the data to fit your needs.

In response to the prompts, the Data Agent generates code to implement the requested change, whether it's to add a missing column or to adjust the types of values used to populate a column.

## Viewing and editing generated data <a href="#view-edit-data" id="view-edit-data"></a>

Fabricate databases have additional viewing and editing options for the generated data.

You can manually edit specific values.

## Database connections

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

Enterprise users can add [database connections](https://docs.tonic.ai/fabricate/database-management/data-agent-database-connections) to their databases.

A database connection is a direct connection to an external database. You can use database connections as a source of structure or data or, instead of generating data within Fabricate, you can generate data directly to a database connection.

A live connection database only contains database connections, and does not generate data in Fabricate.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/fabricate/about-fabricate/fabricate-data-generation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
