# Define proxy for AI connector

**URL:** <https://discuss.elastic.co/t/define-proxy-for-ai-connector/386278>\
**Category:** Endpoint Security\
**Tags:** elastic-ai-assistant\
**Created:** [May 11, 2026, 12:52pm UTC](https://discuss.elastic.co/t/define-proxy-for-ai-connector/386278 "2026-05-11T12:52:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hairless\_mess](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hairless_mess/32/141984_2.png) [@hairless\_mess](https://discuss.elastic.co/u/hairless_mess)\
**Post date:** [May 11, 2026, 12:52pm UTC](https://discuss.elastic.co/t/define-proxy-for-ai-connector/386278/1 "2026-05-11T12:52:34Z")

</div>

Hi everyone! I'm trying to add an AI connector and I'm running into a connection problem because the connector can't reach the AI solution as it needs to pass through our proxy. Is there a way to add a proxy configuration for the AI connector?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![dstepanic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dstepanic/32/84987_2.png) [@dstepanic](https://discuss.elastic.co/u/dstepanic)\
**Post date:** [May 11, 2026, 1:44pm UTC](https://discuss.elastic.co/t/define-proxy-for-ai-connector/386278/2 "2026-05-11T13:44:05Z")

</div>

Hi,

There is a workaround for the AI Assistant Connectors to use `xpack.actions.proxyUrl`

> **[Alerting and action settings in Kibana | Kibana](https://www.elastic.co/docs/reference/kibana/configuration-reference/alerting-settings)**

You can use this `xpack.actions.proxyUrl` setting to Connect to say Azure OpenAI for the AI Assistants through a proxy.

There is not an official way so this is sorta a workaround because this forces all outbound Kibana Connections through the Actions Proxy.

You can also use it in conjunction with xpack.actions.proxyOnlyHosts in case you don't want to proxy everything.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 8, 2026, 1:44pm UTC](https://discuss.elastic.co/t/define-proxy-for-ai-connector/386278/3 "2026-06-08T13:44:59Z")

</div>

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