Algolia puts fast, typo-tolerant search in front of your records. The AI can keep an index up to date and add a search box to your app.
What you can ask for#
Index my products in Algolia and add a search box to the shop page with instant results.
Keep the Algolia index in sync when I add or remove a product.
List my Algolia indexes and show how many records each has.
Connect Algolia#
Step 1: Find the connector
Open Tools, then Connectors, and search for Algolia. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in Application ID, Backend API key and Public search key (optional). Hidden fields show as dots; use the eye icon to check what you typed.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call Algolia for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
In Algolia, open Settings, then Team and Access, then API keys. Copy your Application ID. Create a backend key with only the permissions you need, and never use the Admin API key. For search in the browser, create a second key that allows only search and paste it into Public search key.
What the AI can and can't do#
- List indexes and search them.
- Add, update and remove records in an index with the backend key.
- Build a search box that uses the public search key in the browser.
- The public search key must allow search only. Setup fails if it allows anything else.
- The backend key never goes to the browser.
- Apps you publish can call this connector too, not just the builder.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
Saving fails with the public key.
Check in Algolia that the key allows search only, then save again.
Search returns nothing.
Make sure the index has records and that the app searches the right index name.
I used my Admin key.
Create a restricted key in Algolia, update the connection, and rotate the Admin key.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
Search indexes
Run bounded full-text searches with pagination and filters.
Maintain records
Add, replace, and delete index records through the server gateway.
Browser search
Expose only a verified search-only key for client-side search.
More in Data & analytics
Still stuck?
A person from Swarmz Support can take a look.