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

# Upload

> How to upload your Luma CSVs to Lumalytics.

Uploading your CSVs properly is KEY step into getting the most of your data.

### 1. Upload Item Data

We prepare a list of UploadItems before they are upload to our backend. Each UploadItem is an object with the following properties:

* **eventName**: The name of the event
* **eventDate**: The date of the event
* **file**: The file(CSV) to upload

This is the interface in our codebase:

```typescript theme={null}
export interface UploadItem {
  eventName: string;
  eventDate: string;
  file: File;
}
```

<img src="https://mintcdn.com/lumalytics/Yzep4MJpigb-02BZ/images/upload/upload1.png?fit=max&auto=format&n=Yzep4MJpigb-02BZ&q=85&s=fc649a1111cf860accd806d837591a6e" width="3420" height="1888" data-path="images/upload/upload1.png" />

<Warning>CSVs must be less than 1MB in size.</Warning>

You can't upload ducliplate names for:

* CSVs
* EventNames

### 2. Upload Item List

After you create an event, you can upload as many as you would like. The thought behind is that Luma calendars have more than 1 event hosted.
By implementing this system, we are able to simulate a "batch" upload system that makes the lives of Luma hosts just a bit easier.

<img src="https://mintcdn.com/lumalytics/Yzep4MJpigb-02BZ/images/upload/uploads.png?fit=max&auto=format&n=Yzep4MJpigb-02BZ&q=85&s=e93ca38a5ac4a683bea31bf5c8ed63c5" width="3420" height="1894" data-path="images/upload/uploads.png" />

### 3. Upload the Items

After you have created the event and uploaded the CSVs, you can upload the items.

If the upload resolves, you will be automatically redirected the `/dashboard` page.

<img src="https://mintcdn.com/lumalytics/Yzep4MJpigb-02BZ/images/upload/uploading.png?fit=max&auto=format&n=Yzep4MJpigb-02BZ&q=85&s=4f86d2c32efdc99269a92ebe1f866d50" width="3420" height="1890" data-path="images/upload/uploading.png" />
