Get started
- Go to the Algolia dashboard and select your Algolia application.
- On the left sidebar, select Data sources.
- On the Connectors page, select Push to Algolia, then click Connect.
- Configure your transformation: create a new one or reuse an existing one.
- Configure your destination: create a new one or reuse an existing one.
- Create the task to generate a
taskID
.
Usage
Search API client WithTransformation
helper methods
The helper methods are drop-in replacements for the standard API clients methods (
saveObjects
, partialUpdateObjects
, replaceAllObjects
)
but all rely on the push
API endpoints and are subject to the connector limits.- You only have one destination linked to the index you’re targeting.
- You already have an existing implementation using an API client.
saveObjectsWithTransformation
partialUpdateObjectsWithTransformation
replaceAllObjectsWithTransformation
Ingestion API push
method
This solution is recommended if you only have one destination linked to the index you are targeting.
Ingestion API pushTask
method
This solution is recommended if you have multiple destinations linked to the index you are targeting.
Performance considerations
If you don’t need an Algolia-managed transformation, send records in the traditional way to avoid unnecessary overhead.Supported indexing actions
The Push to Algolia connector supports allaction
types for batch indexing operations.
For deleteObject
, delete
, and clear
actions,
it skips the transformation and uses traditional indexing instead.
Connector Debugger
To check and debugpushTask
operations:
- Check incoming events in the Connector Debugger on the Algolia dashboard.
- The
eventID
returned by a successfulpushTask
API call shows the status of the indexing operation.
- The
- To get real-time feedback, add the
watch
parameter to thepushTask
API call. The response body reports errors and successes.