> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmetal.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Attribute Extraction

> Identify and retrieve specific pieces of information from unstructured data and transform them into a structured format.

Identify and retrieve specific pieces of information from unstructured data and transform them into a structured format.
This is useful for extracting information from documents such as invoices, receipts, and contracts.
Begin by creating a Datasource and specifying the attributes to extract. Then upload a Data Entity (pdf, docx, or csv) and stand by for the extracted results.

## 1. Add a Datasource

Log into your [Metal Account](https://app.getmetal.io/login) to get started.<br />

Navigate to the [Datasource](https://app.getmetal.io/datasources) page and add a Datasource specifying the attributes to extract. Use the description box to guide the LLM.

<img src="https://mintcdn.com/metal/JlNJrP-9OzWcypuS/images/add.gif?s=fb0989d50d48ca1501a4d287446fca0b" alt="Add Datasource" width="1768" height="720" data-path="images/add.gif" />

## 2. Add a Data Entity

Next create a Data Entity by uploading a file (pdf, docx, or csv) and stand by for the extracted results. Note you can add multiple Data Entities to the same Datasource.

<img src="https://mintcdn.com/metal/JlNJrP-9OzWcypuS/images/upload-file.gif?s=dd3f7cda4894e7cf41cd488f08b18ebf" alt="Upload Dataentity" width="1768" height="720" data-path="images/upload-file.gif" />

## 3. View the Results

Once the Data Entity has been processed, you can view the extracted results.

<img src="https://mintcdn.com/metal/JlNJrP-9OzWcypuS/images/attribute-03.png?fit=max&auto=format&n=JlNJrP-9OzWcypuS&q=85&s=f26c08f515198551971c2e9182b9fbeb" alt="Results" width="1326" height="783" data-path="images/attribute-03.png" />
