Skip to content

[Obs AI Assistant] Add Elastic Managed LLM tour callout#220782

Merged
viduni94 merged 50 commits intoelastic:mainfrom
viduni94:eis-pricing-transparency
Jun 10, 2025
Merged

[Obs AI Assistant] Add Elastic Managed LLM tour callout#220782
viduni94 merged 50 commits intoelastic:mainfrom
viduni94:eis-pricing-transparency

Conversation

@viduni94
Copy link
Contributor

@viduni94 viduni94 commented May 13, 2025

Closes https://github.com/elastic/obs-ai-assistant-team/issues/253
Closes https://github.com/elastic/obs-ai-assistant-team/issues/252
Closes https://github.com/elastic/obs-ai-assistant-team/issues/250
Closes https://github.com/elastic/obs-ai-assistant-team/issues/251

Summary

  1. Added Elastic Managed LLM connector via a tour callout when the connector is present. This will be included in the AI Assistant flyout, AI Assistant page and contextual insights.
  2. Added a callout in the conversation when the Elastic Managed LLM is being used
  3. Added Manage Connectors to contextual insights action menu
  4. Added AI Connector updates to settings.

How to enable the Elastic LLM Connector for testing

  1. Run command - VAULT_ADDR={...} vault login -method oidc
  2. Run command - node scripts/eis.js (This will output the config for the connector which needs to be pasted to kibana.dev.yml)
  3. Run Elasticsearch - yarn es snapshot --license trial -E xpack.inference.elastic.url=http://localhost:8443/
  4. Start Kibana as usual
  5. Run yarn run ts-node --transpile-only x-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts to test whether it works correctly.
  6. The connector should be visible in the connectors list in Kibana and in the AI Assistant

Screenshots

Flyout

image

Page

image

Contextual insights in APM

image

Callout within the conversation

image image

Updates to AI connector title, description and buttons in Settings

image

Manage Connectors link to contextual insights

image

Checklist

@viduni94 viduni94 self-assigned this May 13, 2025
@viduni94 viduni94 added backport:skip This PR does not require backporting release_note:feature Makes this part of the condensed release notes Team:Obs AI Assistant Observability AI Assistant labels May 13, 2025
@viduni94 viduni94 force-pushed the eis-pricing-transparency branch from 44c8d19 to b8a857b Compare May 14, 2025 15:54
@viduni94 viduni94 marked this pull request as ready for review May 14, 2025 17:20
@viduni94 viduni94 requested review from a team as code owners May 14, 2025 17:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label May 14, 2025
@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@viduni94 viduni94 added backport:version Backport to applied version labels v9.1.0 v8.19.0 and removed backport:skip This PR does not require backporting labels May 14, 2025
@viduni94
Copy link
Contributor Author

viduni94 commented May 20, 2025

There is a known issue where duplicate callouts are shown if there are more than 1 contextual insights component on the screen. I'm working on a fix for this.
This is fixed

@viduni94 viduni94 requested a review from a team as a code owner May 21, 2025 00:12
Copy link
Contributor

@mdbirnstiehl mdbirnstiehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@thomheymann
Copy link
Contributor

@viduni94 Is there any work outstanding on this PR or can it be merged? We've got a dependant PR #222333

@elasticmachine
Copy link
Contributor

elasticmachine commented Jun 10, 2025

💚 Build Succeeded

  • Buildkite Build
  • Commit: f0d704f
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-220782-f0d704f56157

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
observabilityAIAssistant 101 106 +5
observabilityAIAssistantApp 314 316 +2
observabilityAiAssistantManagement 258 260 +2
searchAssistant 145 147 +2
total +11

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
observabilityAIAssistant 408 427 +19

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
aiAssistantManagementSelection 76.8KB 76.9KB +120.0B
lists 123.5KB 123.6KB +120.0B
logsShared 200.8KB 200.9KB +25.0B
observabilityAIAssistant 19.7KB 20.2KB +473.0B
observabilityAIAssistantApp 171.7KB 173.8KB +2.1KB
observabilityAiAssistantManagement 95.6KB 96.8KB +1.3KB
searchAssistant 98.0KB 100.1KB +2.1KB
total +6.2KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 456.4KB 456.5KB +120.0B
observabilityAIAssistant 37.1KB 40.5KB +3.4KB
total +3.6KB
Unknown metric groups

API count

id before after diff
observabilityAIAssistant 410 429 +19

History

cc @viduni94

@viduni94 viduni94 merged commit cf4d23a into elastic:main Jun 10, 2025
10 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.18, 8.19, 9.0

https://github.com/elastic/kibana/actions/runs/15565341707

@viduni94
Copy link
Contributor Author

@viduni94 Is there any work outstanding on this PR or can it be merged? We've got a dependant PR #222333

@thomheymann I merged the PR.

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.18 Backport failed because of merge conflicts
8.19 Backport failed because of merge conflicts
9.0 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 220782

Questions ?

Please refer to the Backport tool documentation

viduni94 added a commit to viduni94/kibana that referenced this pull request Jun 10, 2025
Closes elastic/obs-ai-team#253
Closes elastic/obs-ai-team#252
Closes elastic/obs-ai-team#250
Closes elastic/obs-ai-team#251

## Summary

1. Added Elastic Managed LLM connector via a tour callout when the
connector is present. This will be included in the AI Assistant flyout,
AI Assistant page and contextual insights.
2. Added a callout in the conversation when the Elastic Managed LLM is
being used
3. Added `Manage Connectors` to contextual insights action menu
4. Added `AI Connector` updates to settings.

## How to enable the Elastic LLM Connector for testing

1. Run command -  `VAULT_ADDR={...} vault login -method oidc`
2. Run command - `node scripts/eis.js` (This will output the config for
the connector which needs to be pasted to `kibana.dev.yml`)
3. Run Elasticsearch - `yarn es snapshot --license trial -E
xpack.inference.elastic.url=http://localhost:8443/`
4. Start Kibana as usual
5. Run `yarn run ts-node --transpile-only
x-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`
to test whether it works correctly.
6. The connector should be visible in the connectors list in Kibana and
in the AI Assistant

## Screenshots

### Flyout

<img width="544" alt="image"
src="https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce"
/>

### Page

<img width="1684" alt="image"
src="https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe"
/>

### Contextual insights in APM

<img width="1098" alt="image"
src="https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e"
/>

### Callout within the conversation

<img width="674" alt="image"
src="https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819"
/>

<img width="904" alt="image"
src="https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0"
/>

### Updates to AI connector title, description and buttons in Settings

<img width="959" alt="image"
src="https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e"
/>

### `Manage Connectors` link to contextual insights

![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit cf4d23a)

# Conflicts:
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_header.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_timeline.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/knowledge_base/knowledge_base_installation_status_panel.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.json
#	x-pack/platform/plugins/private/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.test.tsx
#	x-pack/platform/plugins/private/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.tsx
#	x-pack/platform/plugins/shared/observability_ai_assistant/tsconfig.json
viduni94 added a commit to viduni94/kibana that referenced this pull request Jun 10, 2025
Closes elastic/obs-ai-team#253
Closes elastic/obs-ai-team#252
Closes elastic/obs-ai-team#250
Closes elastic/obs-ai-team#251

## Summary

1. Added Elastic Managed LLM connector via a tour callout when the
connector is present. This will be included in the AI Assistant flyout,
AI Assistant page and contextual insights.
2. Added a callout in the conversation when the Elastic Managed LLM is
being used
3. Added `Manage Connectors` to contextual insights action menu
4. Added `AI Connector` updates to settings.

## How to enable the Elastic LLM Connector for testing

1. Run command -  `VAULT_ADDR={...} vault login -method oidc`
2. Run command - `node scripts/eis.js` (This will output the config for
the connector which needs to be pasted to `kibana.dev.yml`)
3. Run Elasticsearch - `yarn es snapshot --license trial -E
xpack.inference.elastic.url=http://localhost:8443/`
4. Start Kibana as usual
5. Run `yarn run ts-node --transpile-only
x-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`
to test whether it works correctly.
6. The connector should be visible in the connectors list in Kibana and
in the AI Assistant

## Screenshots

### Flyout

<img width="544" alt="image"
src="https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce"
/>

### Page

<img width="1684" alt="image"
src="https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe"
/>

### Contextual insights in APM

<img width="1098" alt="image"
src="https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e"
/>

### Callout within the conversation

<img width="674" alt="image"
src="https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819"
/>

<img width="904" alt="image"
src="https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0"
/>

### Updates to AI connector title, description and buttons in Settings

<img width="959" alt="image"
src="https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e"
/>

### `Manage Connectors` link to contextual insights

![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit cf4d23a)

# Conflicts:
#	src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts
viduni94 added a commit to viduni94/kibana that referenced this pull request Jun 10, 2025
Closes elastic/obs-ai-team#253
Closes elastic/obs-ai-team#252
Closes elastic/obs-ai-team#250
Closes elastic/obs-ai-team#251

## Summary

1. Added Elastic Managed LLM connector via a tour callout when the
connector is present. This will be included in the AI Assistant flyout,
AI Assistant page and contextual insights.
2. Added a callout in the conversation when the Elastic Managed LLM is
being used
3. Added `Manage Connectors` to contextual insights action menu
4. Added `AI Connector` updates to settings.

## How to enable the Elastic LLM Connector for testing

1. Run command -  `VAULT_ADDR={...} vault login -method oidc`
2. Run command - `node scripts/eis.js` (This will output the config for
the connector which needs to be pasted to `kibana.dev.yml`)
3. Run Elasticsearch - `yarn es snapshot --license trial -E
xpack.inference.elastic.url=http://localhost:8443/`
4. Start Kibana as usual
5. Run `yarn run ts-node --transpile-only
x-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`
to test whether it works correctly.
6. The connector should be visible in the connectors list in Kibana and
in the AI Assistant

## Screenshots

### Flyout

<img width="544" alt="image"
src="https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce"
/>

### Page

<img width="1684" alt="image"
src="https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe"
/>

### Contextual insights in APM

<img width="1098" alt="image"
src="https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e"
/>

### Callout within the conversation

<img width="674" alt="image"
src="https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819"
/>

<img width="904" alt="image"
src="https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0"
/>

### Updates to AI connector title, description and buttons in Settings

<img width="959" alt="image"
src="https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e"
/>

### `Manage Connectors` link to contextual insights

![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit cf4d23a)

# Conflicts:
#	src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_body.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_header.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/chat/chat_timeline.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/src/knowledge_base/knowledge_base_installation_status_panel.tsx
#	x-pack/platform/packages/shared/kbn-ai-assistant/tsconfig.json
#	x-pack/platform/plugins/private/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.test.tsx
#	x-pack/platform/plugins/shared/observability_ai_assistant/tsconfig.json
#	x-pack/solutions/observability/plugins/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.tsx
@viduni94
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.0
8.19
8.18

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@viduni94 viduni94 added release_note:skip Skip the PR/issue when compiling release notes and removed release_note:feature Makes this part of the condensed release notes labels Jun 11, 2025
viduni94 added a commit that referenced this pull request Jun 11, 2025
… (#223283)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Obs AI Assistant] Add Elastic Managed LLM tour callout
(#220782)](#220782)

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-06-10T16:44:53Z","message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:feature","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0","v9.0.3","v8.18.3"],"title":"[Obs
AI Assistant] Add Elastic Managed LLM tour
callout","number":220782,"url":"https://github.com/elastic/kibana/pull/220782","mergeCommit":{"message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.0","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220782","number":220782,"mergeCommit":{"message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
viduni94 added a commit that referenced this pull request Jun 11, 2025
…) (#223287)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Obs AI Assistant] Add Elastic Managed LLM tour callout
(#220782)](#220782)

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-06-10T16:44:53Z","message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:feature","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0","v9.0.3","v8.18.3"],"title":"[Obs
AI Assistant] Add Elastic Managed LLM tour
callout","number":220782,"url":"https://github.com/elastic/kibana/pull/220782","mergeCommit":{"message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.0","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220782","number":220782,"mergeCommit":{"message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
viduni94 added a commit that referenced this pull request Jun 11, 2025
…) (#223285)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Obs AI Assistant] Add Elastic Managed LLM tour callout
(#220782)](#220782)

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Viduni
Wickramarachchi","email":"viduni.wickramarachchi@elastic.co"},"sourceCommit":{"committedDate":"2025-06-10T16:44:53Z","message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:feature","Team:Obs
AI
Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0","v9.0.3","v8.18.3"],"title":"[Obs
AI Assistant] Add Elastic Managed LLM tour
callout","number":220782,"url":"https://github.com/elastic/kibana/pull/220782","mergeCommit":{"message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.0","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220782","number":220782,"mergeCommit":{"message":"[Obs
AI Assistant] Add Elastic Managed LLM tour callout (#220782)\n\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/253\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/252\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/250\nCloses
https://github.com/elastic/obs-ai-assistant-team/issues/251\n\n##
Summary\n\n1. Added Elastic Managed LLM connector via a tour callout
when the\nconnector is present. This will be included in the AI
Assistant flyout,\nAI Assistant page and contextual insights.\n2. Added
a callout in the conversation when the Elastic Managed LLM is\nbeing
used\n3. Added `Manage Connectors` to contextual insights action
menu\n4. Added `AI Connector` updates to settings.\n\n## How to enable
the Elastic LLM Connector for testing\n\n1. Run command -
`VAULT_ADDR={...} vault login -method oidc`\n2. Run command - `node
scripts/eis.js` (This will output the config for\nthe connector which
needs to be pasted to `kibana.dev.yml`)\n3. Run Elasticsearch - `yarn es
snapshot --license trial
-E\nxpack.inference.elastic.url=http://localhost:8443/`\n4. Start Kibana
as usual\n5. Run `yarn run ts-node
--transpile-only\nx-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`\nto
test whether it works correctly.\n6. The connector should be visible in
the connectors list in Kibana and\nin the AI Assistant\n\n##
Screenshots\n\n### Flyout\n\n<img width=\"544\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce\"\n/>\n\n###
Page\n\n<img width=\"1684\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe\"\n/>\n\n###
Contextual insights in APM\n\n<img width=\"1098\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e\"\n/>\n\n###
Callout within the conversation\n\n<img width=\"674\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819\"\n/>\n\n<img
width=\"904\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0\"\n/>\n\n###
Updates to AI connector title, description and buttons in
Settings\n\n<img width=\"959\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e\"\n/>\n\n###
`Manage Connectors` link to contextual
insights\n\n\n![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)\n\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cf4d23a6d42208a131c91d1481377c5950cf0b05"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
nickpeihl pushed a commit to nickpeihl/kibana that referenced this pull request Jun 12, 2025
Closes elastic/obs-ai-team#253
Closes elastic/obs-ai-team#252
Closes elastic/obs-ai-team#250
Closes elastic/obs-ai-team#251

## Summary

1. Added Elastic Managed LLM connector via a tour callout when the
connector is present. This will be included in the AI Assistant flyout,
AI Assistant page and contextual insights.
2. Added a callout in the conversation when the Elastic Managed LLM is
being used
3. Added `Manage Connectors` to contextual insights action menu
4. Added `AI Connector` updates to settings.

## How to enable the Elastic LLM Connector for testing

1. Run command -  `VAULT_ADDR={...} vault login -method oidc`
2. Run command - `node scripts/eis.js` (This will output the config for
the connector which needs to be pasted to `kibana.dev.yml`)
3. Run Elasticsearch - `yarn es snapshot --license trial -E
xpack.inference.elastic.url=http://localhost:8443/`
4. Start Kibana as usual
5. Run `yarn run ts-node --transpile-only
x-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`
to test whether it works correctly.
6. The connector should be visible in the connectors list in Kibana and
in the AI Assistant

## Screenshots

### Flyout

<img width="544" alt="image"
src="https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce"
/>

### Page

<img width="1684" alt="image"
src="https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe"
/>

### Contextual insights in APM

<img width="1098" alt="image"
src="https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e"
/>

### Callout within the conversation

<img width="674" alt="image"
src="https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819"
/>

<img width="904" alt="image"
src="https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0"
/>

### Updates to AI connector title, description and buttons in Settings

<img width="959" alt="image"
src="https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e"
/>

### `Manage Connectors` link to contextual insights


![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)


### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
iblancof pushed a commit to iblancof/kibana that referenced this pull request Jun 16, 2025
Closes elastic/obs-ai-team#253
Closes elastic/obs-ai-team#252
Closes elastic/obs-ai-team#250
Closes elastic/obs-ai-team#251

## Summary

1. Added Elastic Managed LLM connector via a tour callout when the
connector is present. This will be included in the AI Assistant flyout,
AI Assistant page and contextual insights.
2. Added a callout in the conversation when the Elastic Managed LLM is
being used
3. Added `Manage Connectors` to contextual insights action menu
4. Added `AI Connector` updates to settings.

## How to enable the Elastic LLM Connector for testing

1. Run command -  `VAULT_ADDR={...} vault login -method oidc`
2. Run command - `node scripts/eis.js` (This will output the config for
the connector which needs to be pasted to `kibana.dev.yml`)
3. Run Elasticsearch - `yarn es snapshot --license trial -E
xpack.inference.elastic.url=http://localhost:8443/`
4. Start Kibana as usual
5. Run `yarn run ts-node --transpile-only
x-pack/solutions/observability/packages/kbn-genai-cli/recipes/hello_world.ts`
to test whether it works correctly.
6. The connector should be visible in the connectors list in Kibana and
in the AI Assistant

## Screenshots

### Flyout

<img width="544" alt="image"
src="https://github.com/user-attachments/assets/e9f454e1-dcfe-4cf5-9929-77282764a8ce"
/>

### Page

<img width="1684" alt="image"
src="https://github.com/user-attachments/assets/aac7c329-9918-4626-9fe9-5682902000fe"
/>

### Contextual insights in APM

<img width="1098" alt="image"
src="https://github.com/user-attachments/assets/9eca3d33-b7ea-4128-a7de-d1b4776d8a8e"
/>

### Callout within the conversation

<img width="674" alt="image"
src="https://github.com/user-attachments/assets/5c0b3933-b253-474e-92a5-d8793ebff819"
/>

<img width="904" alt="image"
src="https://github.com/user-attachments/assets/2ca1ffef-0fcb-4d4f-addf-20c4927b7db0"
/>

### Updates to AI connector title, description and buttons in Settings

<img width="959" alt="image"
src="https://github.com/user-attachments/assets/838d651d-319b-4637-a522-dc80d01bb11e"
/>

### `Manage Connectors` link to contextual insights


![image](https://github.com/user-attachments/assets/16c77fdd-10e4-43f8-ba12-6e147cbeba32)


### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:Obs AI Assistant Observability AI Assistant v8.18.3 v8.19.0 v9.0.3 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants