> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Install Algolia for commercetools

> Connect your commercetools store with Algolia in a few clicks without writing code.

The Algolia commercetools integration handles the **data connection** between your commercetools store and Algolia.
To integrate Algolia in your frontend, you can use these UI libraries:

* [Autocomplete](/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete)
* [InstantSearch](/doc/guides/building-search-ui/what-is-instantsearch/js)

## Before you begin

To connect commercetools and Algolia, you need a commercetools [account](https://docs.commercetools.com/merchant-center/accounts) and [store](https://docs.commercetools.com/api/projects/stores) with administrator access.

You also need an Algolia app with administrator access.
You can [create one for free](/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-your-apps).

## Create a commercetools API client

To let Algolia interact with your store,
set up a new commercetools API client:

1. Sign in to the Merchant Center of your commercetools project.

2. On the sidebar, go to **Settings > Developer settings**.

3. Click **Create new API client**.

4. Enter a name for the API client and select the API scopes for the new client.
   You need at least the following scopes:

   * All items under the **View** column
   * **View API clients**
   * **Subscriptions**

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/commercetools/get-started/ct-api-client-filled-out.jpeg?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=62dad137c7f547c04d358717bbedef93" alt="Screenshot of the 'New API client' form with 'Algolia-test' in the Name field and various scopes like 'Audit Log' and 'Products (all)' selected." width="799" height="1044" data-path="doc/integration/commercetools/get-started/ct-api-client-filled-out.jpeg" />

5. Click **Create API client**.

6. Copy the curl command.
   You need it to configure your commercetools integration in Algolia.

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/commercetools/get-started/ct-api-curl.jpeg?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=16b641a5f59f3dccae4c4d7282c622cf" alt="Screenshot of a curl command for creating a commercetools API client with authentication and integration scopes." width="2684" height="590" data-path="doc/integration/commercetools/get-started/ct-api-curl.jpeg" />

For more information, see [Get your API client](https://docs.commercetools.com/getting-started/create-api-client)
in the commercetools documentation.

## Connect commercetools in the Algolia dashboard

1. Sign in to the [Algolia dashboard](https://dashboard.algolia.com/users/sign_in).

2. On the left sidebar, select <Icon icon="database" /> **Data sources**.

3. Click **Connectors**.

4. Find the **commercetools** connector and click **Connect**.

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/commercetools/get-started/ct-card.jpg?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=89b16973554c860596e1f0f2ab35a606" alt="Screenshot of the commercetools integration card in the Algolia dashboard, showing the 'Connect' button." width="275" height="250" data-path="doc/integration/commercetools/get-started/ct-card.jpg" />

5. To start your [configuration](/doc/integration/commercetools/get-started/configuration),
   click **Get started**.
