1
Change index name prefix
In your store’s Admin, go to Stores > Algolia Search > Credentials and Basic Setup and set Index Name Prefix to a value that’s unique to production, such as
magento2_prod_.
This prefix applies to every the extension creates.Each environment (testing, staging, production) must have a unique index prefix.
If the index prefixes are the same,
the environments overwrite each other’s data and
searching on production might return data from the staging environment.
2
Reindex data
After changing the index prefix,
the indices with the new names need to be created.
You can achieve this by reindexing the complete catalog.After reindexing,
your search is ready to be used in production.
If you enabled the indexing queue in your new environment and want it to run automatically,
make sure to add the cron job to that environment.