---
title: "Magento 2.4 Elasticsearch setup"
canonical_url: "https://www.speedzone.fi/tuki/en/kb/magento-24-elasticsearch-setup/"
post_type: "ht_kb"
published: "2026-01-26T13:51:22+00:00"
modified: "2026-01-27T06:08:30+00:00"
language: "en"
author: "kati"
taxonomies:
  ht_kb_category:
    - name: "Elasticsearch"
      url: "https://www.speedzone.fi/tuki/en/kb-categories/elasticsearch/"
---

# Magento 2.4 Elasticsearch setup

Magento 2.4 Elasticsearch setup. In order to use Elasticsearch, you need to order a new Elasticsearch instance in the [**My Zone**](https://auth.my.zone.fi/?_locale=en) control panel under `Databases` → `Elasticsearch` → `+ Add New Elasticsearch Instance`

Then log in to the Magento admin panel and navigate: `Stores` → `Settings` → `Configuration` → `Catalog` → `Catalog` → `Catalog Search`.

In the settings window that pops up, configure:

- Search Engine: **Elasticsearch 7.0+**
- Elasticsearch Server hostname: **https://**virtXXX**.elastic.zonevs.eu**
- Elasticsearch Server port: **443**
- Elasticsearch HTTP Auth: **Yes**
- Elasticsearch HTTP Username: **virtXXX**
- Elasticsearch HTTP Password: **PASSWORD**

In the Hostname and Username configuration, **XXX** must be replaced by the number displayed when adding the instance of Elasticsearch.

The ****PASSWORD**** can be seen and copied by clicking on the eye icon next to the password field.

[![](https://www.speedzone.fi/static/sites/5/Elastic-ENG-1.png)](https://www.speedzone.fi/tuki/?attachment_id=11942)
