# Does Zammad allow connecting to ElasticSearch via API instead of host?

**URL:** <https://community.zammad.org/t/does-zammad-allow-connecting-to-elasticsearch-via-api-instead-of-host/10307>\
**Category:** Technical assistance\
**Created:** [November 4, 2022, 8:02am UTC](https://community.zammad.org/t/does-zammad-allow-connecting-to-elasticsearch-via-api-instead-of-host/10307 "2022-11-04T08:02:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HrBingR](https://community.zammad.org/user_avatar/community.zammad.org/hrbingr/32/6400_2.png) [@HrBingR](https://community.zammad.org/u/HrBingR)\
**Post date:** [November 4, 2022, 8:02am UTC](https://community.zammad.org/t/does-zammad-allow-connecting-to-elasticsearch-via-api-instead-of-host/10307/1 "2022-11-04T08:02:35Z")

</div>

### Infos:

- Used Zammad version: 5.0.x
- Used Zammad installation type: Package
- Operating system: CentOS 7
- Browser + version: Chromium

I just wanted to confirm whether or not it would be possible to configure Zammad to export search data to ElasticSearch via API, instead of a direct connection to elastic search. In effect:

- Can Zammad be configured to send an ES API Key as opposed to username/password for authentication to ES?
- Does Zammad support adding additional authentication headers? This will be used for authentication with our API gateway.

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [December 9, 2022, 1:40pm UTC](https://community.zammad.org/t/does-zammad-allow-connecting-to-elasticsearch-via-api-instead-of-host/10307/2 "2022-12-09T13:40:44Z")

</div>

> [@HrBingR](#):
>
> Can Zammad be configured to send an ES API Key as opposed to username/password for authentication to ES?

No

> [@HrBingR](#):
>
> Does Zammad support adding additional authentication headers? This will be used for authentication with our API gateway.

No

* * *

All available options in connection to elasticsearch are noted in the documentation:  
[https://docs.zammad.org/en/latest/install/elasticsearch.html#step-3-connect-zammad](https://docs.zammad.org/en/latest/install/elasticsearch.html#step-3-connect-zammad)

---

<div class="post-metadata">

**Author:** ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)\
**Post date:** [April 8, 2023, 1:41pm UTC](https://community.zammad.org/t/does-zammad-allow-connecting-to-elasticsearch-via-api-instead-of-host/10307/3 "2023-04-08T13:41:40Z")

</div>

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
