> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noclick.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Elasticsearch

> Connect Elasticsearch to your workflows: 31 operations across 4 categories.

The Elasticsearch node adds Elasticsearch operations to your workflows. Add it on the canvas or ask the AI builder for it by name, then pick an operation and fill in its fields.

<Note>
  You can wire the Elasticsearch node into an AI agent as a tool provider: the agent calls the operations you allow. See [Agent tools](/agents/tools).
</Note>

## Credentials

Connect Elasticsearch under **Credentials** in the node settings. See [Connecting credentials](/credentials/connecting) for the general flow.

Enter the values manually when creating the credential.

Create an API key in Kibana → Stack Management → API Keys and paste the encoded value here.

[Get your credentials here](https://www.elastic.co/docs/deploy-manage/api-keys/elasticsearch-api-keys).

## Operations

### Aliases

| Operation          | ID               | Description |
| ------------------ | ---------------- | ----------- |
| **Alias Exists**   | `alias_exists`   |             |
| **List Aliases**   | `list_aliases`   |             |
| **Update Aliases** | `update_aliases` |             |

### Documents

| Operation                   | ID                    | Description |
| --------------------------- | --------------------- | ----------- |
| **Bulk Index**              | `bulk_index`          |             |
| **Bulk Write**              | `bulk_write`          |             |
| **Create Document**         | `create_document`     |             |
| **Delete By Query**         | `delete_by_query`     |             |
| **Delete Document**         | `delete_document`     |             |
| **Document Exists**         | `document_exists`     |             |
| **Get Document**            | `get_document`        |             |
| **Get Document Source**     | `get_document_source` |             |
| **Index Document**          | `index_document`      |             |
| **Multi Get**               | `multi_get`           |             |
| **Reindex Documents**       | `reindex_documents`   |             |
| **Update By Query**         | `update_by_query`     |             |
| **Update Document**         | `update_document`     |             |
| **Upload & Index Document** | `upload_and_index`    |             |

### Index

| Operation           | ID                | Description |
| ------------------- | ----------------- | ----------- |
| **Create Index**    | `create_index`    |             |
| **Delete Index**    | `delete_index`    |             |
| **Get Index**       | `get_index`       |             |
| **Get Index Stats** | `get_index_stats` |             |
| **Get Mapping**     | `get_mapping`     |             |
| **Get Settings**    | `get_settings`    |             |
| **Index Exists**    | `index_exists`    |             |
| **List Indices**    | `list_indices`    |             |
| **Refresh Index**   | `refresh_index`   |             |
| **Update Mapping**  | `update_mapping`  |             |
| **Update Settings** | `update_settings` |             |

### Search

| Operation           | ID             | Description |
| ------------------- | -------------- | ----------- |
| **Count Documents** | `count`        |             |
| **Multi Search**    | `multi_search` |             |
| **Search**          | `search`       |             |
