Require the dependency (with Composer)
Register the bundle
The bundle is registered automatically. If it doesnβt register, add the following entry toconfig/bundles.php
if youβre using Symfony 4 and later.
PHP
app/Kernel.php
file:
PHP
Algolia credentials
You need to provide the Algolia App ID and Admin API key. By default, theyβre loaded from theALGOLIA_APP_ID
and ALGOLIA_API_KEY
environment variables.
If you use a .env
file,
you can set them there.
parameters.yml
file.
YAML