---
title: Cases connector and action
description: The Cases connector creates Cases in Kibana when alerts occur. To use this connector you must have All Kibana privileges for the Cases feature. Depending...
url: https://www.elastic.co/docs/reference/kibana/connectors-kibana/cases-action-type
---

# Cases connector and action

The Cases connector creates [Cases](https://d34ipnu52o64md.cloudfront.net/docs/explore-analyze/alerts-cases/cases) in Kibana when alerts occur.

## Create connectors in Kibana

To use this connector you must have `All` Kibana privileges for the **Cases** feature. Depending on the type of rule you want to create and its role visibility, you must have privileges for **Management** or **Observability** case features. For more details, refer to [Kibana privileges](https://d34ipnu52o64md.cloudfront.net/docs/deploy-manage/users-roles/cluster-or-deployment-auth/kibana-privileges).
You cannot manage this connector in **Stack Management > Connectors** or by using APIs. You also cannot create a Cases [preconfigured connector](https://www.elastic.co/docs/reference/kibana/connectors-kibana/pre-configured-connectors). It is available only when you're creating a rule in Kibana. For example:
![Add a cases action while creating a rule in Kibana Rules](https://www.elastic.co/docs/reference/kibana/images/cases-action.png)

<note>
  You can have only one Cases action in each rule.
</note>


### Connector configuration

Cases connectors have the following configuration properties:
<definitions>
  <definition term="Group by alert field">
    By default, all alerts are attached to the same case. You can optionally choose a field to use for grouping the alerts; a unique case is created for each group.
  </definition>
  <definition term="Reopen when the case is closed">
    If this option is enabled, closed cases are re-opened when an alert occurs.
  </definition>
  <definition term="Time window">
    By default, alerts are added to an existing case only if they occur within a 7 day time window.
  </definition>
</definitions>


## Test connectors

You cannot test or edit these connectors in Kibana or by using APIs.