# Adding Data into a Lakehouse

Before you can wrangle your data, it must exist in a lakehouse and be available to ingest into AI Data Wrangler.

## How to upload a local file

One easy method to upload a file stored on your local machine is through the Lakehouse Explorer.

1. Go to the Workspace, where the AI Data Wrangler resides, and select the Lakehouse.
2. In the Lakehouse Explorer, Select Files&#x20;
3. Upload files&#x20;

<figure><img src="/files/SwtCxQiIE1uyky5h5wXb" alt="" width="375"><figcaption></figcaption></figure>

4. Select files from your local machine.
5. Hit Upload&#x20;

Your file will now be available in your AI Data Wrangler.

<figure><img src="/files/om0IJ6vYrikt8DPb7Iws" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Reminder: Data must exist in a lakehouse before it is available to ingest into AI Data Wrangler.
{% endhint %}

## Methods to add data into a Lakehouse

In Microsoft Fabric, here are several ways to get data into a lakehouse:

* File upload from local computer
* Run a copy tool in pipelines
* Set up a dataflow
* Apache Spark libraries in notebook code
* Stream real-time events with Eventstream
* Get data from Eventhouse

### Learn More

* [Microsoft Fabric Lakehouse](https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-overview)


---

# 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://agenticdocs.osmos.io/ai-data-agents-on-microsoft-fabric/adding-data-into-a-lakehouse.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.
