# Build a SLA

SLAs are formal commitments between a customer and a vendor about a

&#x20;service's reliability. This tutorial will show you how to configure a SLA  on a per organization basis.

{% hint style="info" %}
Note: You must have an Organization and SLO defined before you can create an SLA. To learn how to create an org, you can head to [Create an Organization](/how-tos/tutorials/create-an-organization.md) and to learn how to create a SLO, head to [Build a SLO](/how-tos/tutorials/build-a-slo.md).
{% endhint %}

## Create an SLA

Follow these steps to create a Service Level Agreement (SLA):

1. Find and click on "Agreements" in the side navigation bar. Click the "+ New SLA" button to open the Create SLO modal. Alternatively, you can also click on the "Create SLA" button permanently located on the top navigation bar.
2. Click on the dropdown to select from your list of active Orgs. You can also add a new Org directly from the SLA modal by giving it a name and ID.
3. Define the SLA duration by setting a Start Date and End Date. For ease, we have provided presets that'll accurately help you set durations like a week, month, quarter and year.
4. Using the dropdown, select the SLOs that you want to capture under your SLA. Note that you can choose multiple SLOs within a SLA.

{% hint style="warning" %}
Each SLO comes with it's own set of SLIs, compliance period and target. We calculate these individually per organization and perform an aggregation to qualify whether or not a SLA is in breach.
{% endhint %}

5. A name and description will be auto filled for your SLA based on it's SLO configuration
6. Click the "Save" button to create your new SLA

### Example

{% tabs %}
{% tab title="DRPC's SLA" %}
For the example implementation, we will be creating a SLA for DRPC with two SLOs, Availability and Latency

1. Click "Create SLA" on the top navigation
2. We will select "DRPC" as the organization
3. Set Jul 2024 -> Jul 2025 as the duration of the SLA
4. Select Availability and Latency SLOs that were created previously
5. The SLA will  get the following name: `SLA for DRPC` and description `Cloudflare Gateway Availability Rate above 99% and Cloudflare Gateway Latency under 30ms [P90] will be evaluated over 1 year` via the autofill feature. \
   \
   Note: You can also edit the autofilled name and description.

<figure><img src="/files/tHCEdkYuwnRmhp60G2Sj" alt=""><figcaption><p>Availability and Latency SLA for DRPC</p></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rated.co/how-tos/tutorials/build-a-sla.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
