> For the complete documentation index, see [llms.txt](https://docs.getinfinity.app/user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getinfinity.app/user-guide/comprehensive-user-guide/1.-connecting-your-data/uploading-files-as-a-datasource.md).

# Uploading Files as a Datasource

This guide will walk you through the process of uploading files, such as CSV or Excel, as a data source.

#### 1. Click "settings"

Access the settings menu.

![Click 'settings'](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2Fnzfg9vasqH9f1r5pR45jZ6_doc.png?alt=media\&token=e4314a1a-3417-4b18-abea-931d0c8c4248)

#### 2. Click "Datasources"

Navigate to the Datasources section.

![Click 'Datasources'](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2FoonQu4CWxEgoMwmhaZYrQW_doc.png?alt=media\&token=f97739fc-f951-4870-b6ad-afd45f6c8dc1)

#### 3. Click "ADD DATASOURCE"

Add a new datasource.

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

#### 4. Click "browse"

Select the browse option. Select the file that you want to upload.

![Click 'browse'](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2FhXTSgLLsPAQnn1VKTcibJM_doc.png?alt=media\&token=c9c2d71a-b72c-4c1e-89e7-188afb2de8ab)

#### 5. Select  the file

![](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2FsayaSoXeS5Gc4VKVqbjP1t_doc.png?alt=media\&token=d78c3194-52fd-43e1-b343-4b09fd8bf4c9)

#### 6. Rename, if needed

When uploading a file to the platform, you have the option to modify its name before finalizing the upload. The new file name will be the one stored and referenced within the platform.<br>

**Requirements:**

* The file name **must be unique** across the platform.
* **No special characters or spaces** are allowed. Only **letters, numbers, hyphens (-), and underscores (\_)** are permitted.<br>
  * If a file name contains special characters or spaces, the system will display an error and prompt you to correct it.
  * If a duplicate file name is detected, you will be asked to choose a different unique name.

![Rename, if needed](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2FuE9J83x5uPVD114cSEstb1_doc.png?alt=media\&token=eef3c1cb-c19b-4eb5-ac92-76aec76b46d6)

#### 7. Click "Upload"

Upload the file.

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

#### 8. Click "NEXT"

Proceed to the next section.

![Click 'NEXT'](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2F1jQLn2LzpmnLTnBvAUzasz_doc.png?alt=media\&token=e38c3f47-8e35-42e6-8d18-35711295807d)

#### 9. Select the file to add data descriptions

After clicking **Next**, you will be redirected to a page where you must provide **data descriptions** for the table. These descriptions play a crucial role in enhancing AI-generated insights.

![Click 'file\_globalsuperstore' to add data descriptions](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2F8EeSAFbMoL2aZMvFtUrGoW_doc.png?alt=media\&token=6a3b4d99-0d67-49f7-a9bd-5c6313f7f36a)

#### 10. Review AI-generated data descriptions and make edits as needed. Then click "Complete"

**Why Data Descriptions Are Important**

* **Enhances AI Understanding**: The AI uses these descriptions to generate meaningful context when building charts and performing analyses.
* **Improves Accuracy**: Well-defined descriptions help the model interpret data correctly, leading to more relevant visualizations and insights.
* **Ensures Consistency**: Standardized descriptions allow for better data governance and usability across different users and reports.

![Review AI-generated data descriptions and make edits as needed. Then click 'Complete'](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2F2gD28M8GRaPD65UrJVsDN1_doc.png?alt=media\&token=c612ff7d-38f7-4151-9234-fb5f24cf5076)

### **Steps to Review and Edit Data Descriptions**

1. **Access the Data Description Page**
   * After uploading your file, you will be directed to a page displaying the table name, descriptions, and column details.
2. **Review AI-Generated Descriptions**
   * The platform will automatically provide descriptions for each column based on its name and detected data type.
   * Ensure that these descriptions accurately reflect the meaning and purpose of each data field.
3. **Edit Descriptions as Needed**
   * If any description is incorrect or unclear, click on the text box and update it accordingly.
   * Provide clear, concise, and meaningful explanations to improve AI understanding and analytics accuracy.
4. **Confirm and Complete the Process**
   * Once all necessary edits have been made, click the **"Complete"** button at the bottom of the page.
   * This finalizes the descriptions and allows the AI to use them for enhanced data visualization and analysis.

#### 11. Click "Next"

Move on to the next step.

<figure><img src="/files/6uCwnntGEn2XqFA5l47W" alt=""><figcaption></figcaption></figure>

#### 12. Set Permissions. You can give access to the file to individual users or a role(s).

When adding a new data source, you can control access permissions to ensure that only authorized users or roles can view and manage the file.

### **Steps to Set Permissions**

1. **Assign User or Role-Based Access**

* Use the search bar to find specific roles or users.
* You can check individual users or roles from the list.
* Click **"Select all"** if you want to grant access to all users.

![Set Permissions. You can give access to the file to individual users or a role(s).](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2FwPYE13s9sSk1J2dBKQDvz9_doc.png?alt=media\&token=c65dcdc1-e118-4485-b108-ac1e8ea3d6aa)

#### 13. Click "Save"

Save the changes.

![Click 'Save'](https://static.guidde.com/v0/qg%2F3qQSN1rQvFb25Kfi4Malri6srgx1%2FpMYdsqEBYTtsf8sXDhZRQp%2F1rMnX4r1gMpjxffbuQG99K_doc.png?alt=media\&token=5d3d7d6f-7312-4ce3-91ed-df846c1df861)
