| title | Upload a File |
|---|---|
| sidebarTitle | Upload a File |
Follow the steps below to upload a file to MindsDB.
Note that the trailing whitespaces on column names are erased upon uploading a file to MindsDB.-
Access the MindsDB Editor.
-
Navigate to
Add datasection by clicking theAdd databutton located in the top right corner. -
Choose the
Filestab. -
Choose the
Import Fileoption. -
Upload a file (here it is
house_sales.csv), name a table used to store the file data (here it ishouse_sales), and click theSave and Continuebutton.
The File Uploader can be configured to interact only with specific domains by using the file_upload_domains setting in the config.json file.
This feature allows you to restrict the handler to upoad and process files only from the domains you specify, enhancing security and control over web interactions.
To configure this, simply list the allowed domains under the file_upload_domains key in config.json. For example:
"file_upload_domains": [
"s3.amazonaws.com",
"drive.google.com"
]Now, you are ready to create a predictor from a file. Make sure to check out this guide on how to do that.


