API Reference / API Methods / Recommend
List of methods

Install

The Algolia Recommend client is separate from the search client. It’s available on the npm registry.

1
npm install @algolia/recommend

If you don’t use a package manager, you can use a standalone endpoint.

1
2
3
4
<script src="https://cdn.jsdelivr.net/npm/@algolia/recommend"></script>
<script>
  const algoliarecommend = window['@algolia/recommend'];
</script>

Initialize the client

1
2
3
const algoliarecommend = require('@algolia/recommend');

const client = algoliarecommend('YourApplicationID', 'YourAdminAPIKey');

Did you find this page helpful?