With this plugin you can configure content types to upload to algolia. Its possible to configure the index name and the content of the model.
If a content type has draftAndPublish enabled it will only upload to algolia on publish.
install the plugin and add in plugin.js / plugin.ts:
algolia: {
enabled: true,
resolve: plugin location,
config: {
appId: secret,
adminApiKey: secret,
contentTypes: [
{
uid: 'contenttype uid', --required
index: 'name of index in algolia for this type', --required
populate: 'strapi populate string', --required
idPrefix: 'podcast-. this has to be used if you want to upload different contenttypes to the same index.' --optional
},
],
},
},