You are viewing the documentation for an older version of this package. You can check the version you are using with the following command:
composer show spatie/laravel-site-search
Authenticating requests
Meilisearch exposes its API to create indexes, update settings, and retrieve results on HTTP port 7700. If you publicly expose that port, we highly recommend using Meilisearch built-in authentication features to prevent unauthorized persons making request against your Meilisearch installation.
You can specify the API Key (can be public or private key) that this package should use by adding a meilisearch.apiKey JSON value to the extra attribute in the site_search_configs table. Here's how that would look like: