Credentials?
Issue #1
resolved
Hello,
i just do not get where to put / generate the credentials for posting to an index?
Stefan
Comments (3)
-
repo owner -
reporter Thanks! I tried the vendor publish command before, but somehow that file did not work. Yours did, thanks!
-
reporter - changed status to resolved
Worked, thanks!
- Log in to comment
You should create
/config/algolia.php
file and add something like that:Then you should modify your model and use console or something else (for example in backend widget you can use the next method -
YourModel::reindex();
).You can find more info here - https://github.com/algolia/algoliasearch-laravel#publish-vendor