kibana/x-pack/plugins
Sergi Massaneda 9b3775e6b5
[GenAI][Integrations] UI for the custom integration creation with AI (#186304)
## Summary 

This ticket is the initial implementation for the UI side for the
AI-driven custom integration creation.

This PR only contains the implementation of the UI, due to the tight
timing it will not include tests, everything will be tested manually for
8.15 FF. We'll implement the tests later.

#### Enable Feature

The new integration assistant plugin is disabled by default, to enable
it:

```
xpack.integration_assistant.enabled: true
```


#### Complete tasks

- [x] New integration button on the /integrations page
- [x] New integration "landing" page with buttons to upload zip and
assistant
- [x] Upload zip page to install integration
- [x] Integration assistant:
  - [x] Connector selection step
  - [x] Integration details step
  - [x] Data stream step
  - [x] Review and install

#### Follow-ups (will be implemented in separate PRs)

- [ ] Add RBAC
- [ ] Add telemetry
- [ ] Documentation
- [ ] Add license/productType controls
- [ ] Add links to the create integration page
- [ ] Improve package name retrieval:
https://github.com/elastic/kibana/issues/185932
- [ ] Add time estimation on the generation stage
- [ ] Add support for multi-valuated "input type"
- [ ] Enable Langsmith tracing using AI assistant settings

#### Demo


b04c21c6-09cf-49bb-be8f-bf4b9d3feb8e


## Files by Code Owner

### elastic/docs

* packages/kbn-doc-links/src/get_doc_links.ts
* packages/kbn-doc-links/src/types.ts

### elastic/fleet

* x-pack/plugins/fleet/kibana.jsonc
*
x-pack/plugins/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx
*
x-pack/plugins/fleet/public/applications/integrations/layouts/default.tsx
*
x-pack/plugins/fleet/public/applications/integrations/sections/epm/index.tsx
*
x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx
* x-pack/plugins/fleet/public/components/header.tsx
* x-pack/plugins/fleet/public/constants/page_paths.ts
* x-pack/plugins/fleet/public/plugin.ts
* x-pack/plugins/fleet/tsconfig.json

### elastic/kibana-core

* x-pack/plugins/fleet/kibana.jsonc
* x-pack/plugins/integration_assistant/kibana.jsonc

### elastic/kibana-operations

* packages/kbn-optimizer/limits.yml

### elastic/security-solution

* x-pack/plugins/integration_assistant/**/*

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-06-21 19:19:05 +02:00
..
actions [OAS] Refresh connectors API document (#186141) 2024-06-18 11:50:35 -07:00
aiops [ML] AIOps: Fix the text field icon margins in the log rate analysis results table. (#186520) 2024-06-21 09:20:53 +02:00
alerting [Response Ops][Alerting] Adding more granular apm spans to alerting task runner for better traceability (#186427) 2024-06-20 16:09:13 -04:00
banners [SharedUX] Remove usage of deprecated React rendering utilities (#180516) 2024-04-17 07:52:41 -07:00
canvas Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
cases skip flaky suite (#176335) 2024-06-19 03:02:16 +01:00
cloud [EBT] Combine packages (#186048) 2024-06-18 14:23:16 +02:00
cloud_defend [Fleet] introduce policy_ids in package policy SO (#184636) 2024-06-11 10:23:39 +02:00
cloud_integrations [EBT] Combine packages (#186048) 2024-06-18 14:23:16 +02:00
cloud_security_posture [Cloud Security] Patch fix for Column label on Cloud Security Data table (#186425) 2024-06-20 08:30:19 -07:00
cross_cluster_replication [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
custom_branding
dashboard_enhanced [i18n] Fix broken i18n messages (#185011) 2024-06-07 14:19:46 -06:00
data_quality [Dataset quality] Change Dataset Quality app's title and add description. (#184728) 2024-06-11 20:29:43 +02:00
data_visualizer [ES|QL] Moves the @timestamp assignment to the ESQL util (#186158) 2024-06-17 17:43:28 +02:00
discover_enhanced
drilldowns
ecs_data_quality_dashboard [Security Solution][DQD] Persist new fields in results storage (#185025) 2024-06-13 11:14:48 +02:00
elastic_assistant [Security Assistant] Adds client hooks and internal routes for managing Knowledge Base Entries (#184974) 2024-06-18 18:48:07 -07:00
embeddable_enhanced [dashboard] fix Upgraded dashboard with image embeddable shows 'unsaved changes' badge when opening editor (#183539) 2024-05-15 13:22:24 -06:00
encrypted_saved_objects Add @typescript-eslint/no-floating-promises (#181456) 2024-05-01 08:41:31 -07:00
enterprise_search Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
event_log [Response Ops] Adding null checks before using Object.keys during event log initialization (#184969) 2024-06-11 22:39:01 -04:00
features Add support for a declarative (via configuration) way to specify Kibana feature overrides (#180362) 2024-06-06 15:55:19 +02:00
fields_metadata [Spacetime] Fields metadata services (#183806) 2024-06-05 09:51:50 +02:00
file_upload [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
fleet [GenAI][Integrations] UI for the custom integration creation with AI (#186304) 2024-06-21 19:19:05 +02:00
global_search Use rxjs instead of rxjs/operators (#179553) 2024-04-02 11:41:33 -07:00
global_search_bar [EBT] Combine packages (#186048) 2024-06-18 14:23:16 +02:00
global_search_providers Use rxjs instead of rxjs/operators (#179553) 2024-04-02 11:41:33 -07:00
graph [AppEx-SharedUX] Remove toMountPoint parameter from TableListViewKibanaProvider (#182030) 2024-04-30 11:14:48 -07:00
grokdebugger [Mgmt] Remove usage of deprecated modules for mounting React, Part II (#182043) 2024-05-07 08:59:44 -07:00
index_lifecycle_management Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
index_management Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
ingest_pipelines Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
integration_assistant [GenAI][Integrations] UI for the custom integration creation with AI (#186304) 2024-06-21 19:19:05 +02:00
kubernetes_security [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
lens [Lens] Legend Statistics feature (#182357) 2024-06-19 21:04:07 +02:00
license_api_guard Add @typescript-eslint/no-floating-promises (#181456) 2024-05-01 08:41:31 -07:00
license_management Add @typescript-eslint/no-floating-promises (#181456) 2024-05-01 08:41:31 -07:00
licensing [EBT] Combine packages (#186048) 2024-06-18 14:23:16 +02:00
lists [Security Solution] Add missing Lists API OpenAPI specifications (#185865) 2024-06-18 13:22:19 -07:00
logstash [OAS] Refactor description -> summary (#184651) 2024-06-06 06:49:41 -07:00
maps [Embeddables Rebuild] Fix runtime state types. (#186194) 2024-06-19 10:05:27 -04:00
ml [ML] Update code editors for Transform, Data Frame and Anomaly Detection wizards (#184518) 2024-06-21 16:43:20 +02:00
monitoring Implement elasticsearch.maxResponseSize config option (#186291) 2024-06-19 11:04:33 +02:00
monitoring_collection [Stack Monitoring] Update code owners (#183279) 2024-05-14 09:57:07 +02:00
notifications Add @typescript-eslint/no-floating-promises (#181456) 2024-05-01 08:41:31 -07:00
observability_solution Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
osquery [Security Solution] Support import/order ESlint rule by code generation (#185913) 2024-06-11 13:38:11 +02:00
painless_lab [Mgmt] Remove usage of deprecated modules for mounting React, Part II (#182043) 2024-05-07 08:59:44 -07:00
remote_clusters [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
reporting [EBT] Combine packages (#186048) 2024-06-18 14:23:16 +02:00
rollup [Rollups] Add attributes for tracking doc links clicks (#186612) 2024-06-21 16:05:44 +01:00
rule_registry [OBS-UX-MNGMT] Move the Alerting comparators from TriggersActionsUI plugin to the alerting-types package (#181584) 2024-05-28 15:34:52 +02:00
runtime_fields [Mgmt] Remove usage of deprecated modules for mounting React, Part II (#182043) 2024-05-07 08:59:44 -07:00
saved_objects_tagging [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
screenshotting [Reporting] Update to puppeteer 22.8.1 (#183264) 2024-05-14 18:02:22 +02:00
search_connectors [Search] Renaming the search frontend group (#184565) 2024-06-03 13:14:49 -07:00
search_homepage [Search] Homepage Plugin setup (#186224) 2024-06-19 12:47:18 +02:00
search_inference_endpoints Add inference endpoints management page (#184614) 2024-06-13 10:00:33 -07:00
search_notebooks [Search] Renaming the search frontend group (#184565) 2024-06-03 13:14:49 -07:00
search_playground Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
searchprofiler [EuiProvider] Use KibanaRenderContextProvider in Console A11y Overlay (#184488) 2024-05-31 10:43:16 -07:00
security Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
security_solution Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
security_solution_ess [Stateful sidenav] Put recently accessed in footer for all solutions (#184298) 2024-05-28 17:00:04 +01:00
security_solution_serverless [EDR Workflows] Additional usage reporting task test (#185888) 2024-06-20 15:14:28 -07:00
serverless Add "Give feedback" button (#180942) 2024-04-22 04:44:28 -07:00
serverless_observability [Serverless] make parent nav item into breadcrumb link (#183189) 2024-05-16 08:14:18 -04:00
serverless_search [Search] Homepage Plugin setup (#186224) 2024-06-19 12:47:18 +02:00
session_view polyfill window.matchMedia in jsdom (#181710) 2024-04-30 05:26:29 -07:00
snapshot_restore [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
spaces [Spaces] Add solution view select in UI (#186178) 2024-06-19 16:18:13 +01:00
stack_alerts Upgrade EUI to v95.0.0 (#185943) 2024-06-18 08:55:26 -07:00
stack_connectors [ResponseOps][Connectors] SSL for Cases Webhook (#185925) 2024-06-18 11:45:41 +02:00
task_manager [Response Ops][Task Manager] Integration test for switching between task claim strategies (#186419) 2024-06-21 09:29:13 -04:00
telemetry_collection_xpack [Spaces] Passing default solution from cloud onboarding process (#185926) 2024-06-18 11:10:52 +02:00
threat_intelligence [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
timelines [i18n][system upgrade] Upgrade Intl Packages from v2 to v6 (#179506) 2024-06-02 16:50:33 +03:00
transform [ML] Update code editors for Transform, Data Frame and Anomaly Detection wizards (#184518) 2024-06-21 16:43:20 +02:00
translations [Security Solution][Endpoint] Bug fixes to the Endpoint List (#186223) 2024-06-21 11:42:57 -04:00
triggers_actions_ui Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00
upgrade_assistant [i18n] Fix broken i18n messages (#185011) 2024-06-07 14:19:46 -06:00
watcher Upgrade EUI to v95.1.0 (#186324) 2024-06-21 09:10:58 -07:00