Imorting Data
Create your first index and add records to make searchable in the next steps.
Welcome to the guide for pushing data to Algolia! In this section, you’ll learn how to seamlessly create an index and ingest your data using either the Algolia API client or one of our powerful integrations. We’ll walk you through the steps to select the most suitable method for your needs, whether you prefer direct API interactions or leveraging a ready-made integration with popular platforms. By the end of this guide, you’ll be equipped with the knowledge and tools to successfully set up your index and import your data, ensuring your application is ready to deliver fast and relevant search results to your users.
Using an API Client
If you choose to use the API Client, you’ll be guided through two straightforward steps to get started with Algolia. First, you’ll install the API client for your preferred programming language. Next, you’ll add our sample record dataset to your index, giving you a quick and practical introduction to managing your data with Algolia. By the end of this walkthrough, you’ll have a functional search index ready to power your application’s search capabilities.
Install API Client
Install our API client using your CLI:
Add records to index
Fetch your data from your database, file or elsewhere and add it to your index for search.
We’ve added a sample function to fetch a sample movie data set to get your started.
This method fully replaces an existing record. If there’s an error saving one of your records, none of them will be added to your index. Learn more about the Save Objects method.
Using Integrations
If you prefer to use one of our integrations, this guide will help you seamlessly connect Algolia with your existing platform, whether it’s Shopify, WordPress, Firebase, or another supported service. You’ll learn how to effortlessly set up the integration, configure your index, and sync your data, enabling Algolia’s powerful search capabilities within your application. By following these steps, you’ll quickly enhance your platform with fast, relevant search results, providing an improved user experience without needing extensive custom development.
Was this page helpful?