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.

  1. Access the MindsDB Editor.

  2. Navigate to Add data section by clicking the Add data button located in the top right corner.

  3. Choose the Files tab.

  4. Choose the Import File option.

  5. Upload a file (here it is house_sales.csv), name a table used to store the file data (here it is house_sales), and click the Save and Continue button.

Configuring URL File Upload for Specific Domains

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"
]

What’s Next?

Now, you are ready to create a predictor from a file. Make sure to check out this guide on how to do that.