Guides / Sending and managing data / Send and update your data

Importing from the Dashboard

Algolia’s dashboard lets you import data from a file. This is useful when you’re just getting started with Algolia and want to test it out with sample data.

You can’t use the dashboard to update existing data. To synchronize or update live data, use an API client.

Source file

Algolia expects JSON records, which means you can import a JSON file directly.

1
2
3
4
5
6
7
8
9
10
[
  {
    "firstname": "Jimmie",
    "lastname": "Barninger"
  },
  {
    "firstname": "Warren",
    "lastname": "Speach"
  }
]

The Algolia dashboard also accepts CSV and TSV files.

1
2
3
firstname,lastname
Jimmie,Barninger
Warren,Speach
1
2
3
"firstname" "lastname"
"Jimmie"    "Barninger"
"Warren"    "Speach"

Creating a new index

Head over to the Indices tab in the Algolia dashboard, and create a new index by clicking New > Index.

Create index from dashboard

Then, give a name to your index and click Create.

Create index from dashboard 2

Uploading the file

Once you’ve created the index, you can import the file.

Right after you create an index, the dashboard opens a sidebar on the right. You can click Upload records > Upload file to import your file.

Upload json file to dashboard

If you’re adding records to an existing index, you can click Add records > Upload file instead.

Upload json file to dashboard 2

Drop the file into the Upload records box or click and select it on your file system. Then, click Upload.

Drop file dashboard

Once Algolia has indexed your data, the dashboard sends a notification indicating a successful save.

Did you find this page helpful?