> For the complete documentation index, see [llms.txt](https://docs.keeping.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeping.com/help/service-level-agreements/creating-an-sla.md).

# Creating an SLA

How to create an SLA in Keeping.

In Keeping's settings, click on Automations in the main navigation in the left sidebar.

## Creating a New SLA

### Click "Add SLA" to create a new SLA

<figure><img src="https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fgit-blob-df075cc6b05dde60ef2cf42373a6562c838ea647%2FSLA%20-%20Step%201.png?alt=media" alt="Add a New SLA"><figcaption><p>Add a New SLA</p></figcaption></figure>

### Name the SLA and choose which mailbox it runs on

{% hint style="info" %}
An SLA can only run on a single mailbox. If you need the same SLA to run on multiple mailboxes, create an SLA for each mailbox.
{% endhint %}

![Name your SLA and choose your mailbox](https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fgit-blob-df06cbaab72617e16b7c014d84925baa950ba527%2FSLA%20-%20Step%202.png?alt=media)

### Set the conditions that trigger the SLA

An SLA must have a single time-based condition, either **First response time** or **Resolution time**. You may also optionally add one or more additional conditions that must match before an SLA Violation is triggered.

{% content-ref url="/pages/UKOLfMrPpyBniT6ZAeII" %}
[SLA conditions](https://docs.keeping.com/help/service-level-agreements/sla-conditions.md)
{% endcontent-ref %}

![Set the rules under which the SLA is triggered](https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fgit-blob-794c7147d606863cb24078ccc7c9439dd1574e87%2FSLA%20-%20Step%203.png?alt=media)

### Configure the actions that get triggered on an SLA Violation

When the conditions you set are triggered, a special **SLA Violation** tag is applied to the conversation. In addition, you may choose additional actions to run when the SLA violation is triggered.

{% hint style="info" %}
The **SLA Violation** tag is a special tag that cannot be removed or edited as part of Keeping's tag feature.
{% endhint %}

{% content-ref url="/pages/uKuT4GkPaJOEKTKGurK1" %}
[SLA actions](https://docs.keeping.com/help/service-level-agreements/sla-actions.md)
{% endcontent-ref %}

![Choose what actions run when your SLA is triggered.](https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fgit-blob-4d95ae0c7efc25a23d0d153b314fc26580b898a9%2FSLA%20-%20Step%204.png?alt=media)

### Review and activate

Review your SLA and click **Activate** to set it in motion.

{% hint style="info" %}
Note that SLAs are only applied to **new** conversations that originate **after** the SLA is created or updated.
{% endhint %}

![Activate your new SLA](https://1058495162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCHa8WIsJ5Z5NqmPmq5VS%2Fuploads%2Fgit-blob-633172ad8f156ece5b1d97d9e3dd9b628f407e82%2FSLA%20-%20Overview.png?alt=media)
