Importing from the dashboard
Uploading files is useful when you’re just starting with Algolia and want to test it with sample data.
Before importing data files, you need to create an index to store your data. You can then upload your files from the Algolia dashboard.
Dashboard uploads can have a file size of up to 100 MB. For larger files, use the API, CLI, or the CSV no-code connector instead.
You can’t use the dashboard to update existing data. To synchronize or update such data, use an alternative method.
Import file formats
Algolia uses JSON to model records and can import JSON, CSV, and TSV files:
1
2
3
4
5
6
7
8
9
10
[
{
"firstname": "Jimmie",
"lastname": "Barninger"
},
{
"firstname": "Warren",
"lastname": "Speach"
}
]
1
2
3
firstname,lastname
Jimmie,Barninger
Warren,Speach
1
2
3
"firstname" "lastname"
"Jimmie" "Barninger"
"Warren" "Speach"
Create a new index
To create a new index to import your file data into:
-
Go to the Indices tab in the Algolia dashboard and click New > Index.
-
Give your index a name and click Create.
Upload the file
To add records to a new index, click Upload records > Upload file to import your file.
To add records to an existing index:
-
Click Add records > Upload file.
-
Drop the file into the Upload records box or select it on your file system. Then, click Upload.
-
Once Algolia has indexed your data, the dashboard will notify you of a successful save.