# Create a Custom SLO

To create a custom SLO alert, complete these tasks:

- [Begin defining an SLO](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#begin)
- [Choose the detection method](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#detection)
- [Write PromQL Queries](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#pick)
- [Set condition](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#condition)
- [Add details](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#details)
- [Add contacts](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#contacts)
- [Create SLO](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#create)

## Begin defining an SLO

1. Select the **Alerts** tab, and then the **SLO Rules** option in the drop-down menu.

2. In the **SLO** interface, click  (Create New SLO).

3. The **Create SLO** interface appears.

##  Choose the detection method

SLOs have these detection options:

- Latency  
  select 
- Availability  
  select 
- Metric  
  select 
- Custom  
  select

Here, choose  (custom).

##  Write PromQL Queries

With Custom SLOs, you define your own numerator and denominator using PromQL queries with various metrics.

##  Set condition

There are some differences in the process of setting the alerting condition, depending on the [detection method](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#detection).

For a **Custom SLO**, set the objective condition:

Hover over the value set. When it becomes mutable, either type in the value, or adjust it using the "higher" and "lower" selectors.

Note that the units are the percentage (%).

##  Add details

Provide details for the SLO:
Add the name and description for the SLO, and select which folder the SLO should be added to.

- Name  
  Kloudfuse automatically creates this immutable name, based on the SLO type and your custom query configuration.
- Description  
  [Optional] Enter a distinct and meaningful name for the SLO.
- Labels  
  [Optional] Add labels to attach to the SLO.

- Time Window  
  Select the time window for the SLO. Choose between **7 days** or **30 days**.

This is an optional step. If you choose to complete it, you create an accompanying alert for the SLO. If you leave the **Contact Points** field blank, you can still create a valid SLO.

You can either [Choose Contact Points](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#contacts-choose), or [Create New Contact Points](https://docs.kloudfuse.com/platform/3.5.0/slo-custom/#contacts-create) and then choose them.

### Choose Contact Points

1. Choose one or more of the existing contacts from the drop-down, so they can receive the alert.
2. To remove a contact you previously selected from the alert notification, click  (Delete) icon on their tile.

3. To remove all contacts that you previously selected, click the  (Delete) icon on the right side of the drop-down.

### Create New Contact Points

1. Click  (Create New Contact Points).

2. Kloudfuse opens the **Create Contact points** interface.

Specify, configure, test, and save new contact points. See [Alerts contact points](https://docs.kloudfuse.com/platform/3.5.0/alerts-contact-points/) for details.

## Create SLO

1. To complete creating the SLO, click  (Create SLO).
2. Kloudfuse reports that "SLO created successfully".
3. If you choose not to create the SLO at this time, click  (Cancel).
4. The new SLO appears in the list of SLOs.
