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

Importing from the Dashboard

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

Using the dashboard to import data is useful for experimenting with static data. If you’re planning on syncing or updating your live data, you should 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

In the import modal, you can drop the file, or click and select it on your file system. Then, you can click Upload.

Drop file dashboard

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

Did you find this page helpful?