# Adding a Service

{% embed url="<https://www.youtube.com/watch?v=MdaMk_O_4jI>" %}

A Service is a core component of your infrastructure/application for which alerts are generated.

Services in Squadcast represent specific systems, applications, components, products, or teams for which an incident is created. To check out some of the best practices for creating Services in Squadcast, refer to the guide [<mark style="color:blue;">here</mark>](https://www.squadcast.com/blog/how-to-configure-services-in-squadcast-best-practices-to-reduce-mttr).

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* The User Role associated with the user in the Team must have required permissions to manage Services.
* You need to have at least one [<mark style="color:blue;">Escalation Policy</mark>](https://support.squadcast.com/escalation-policies/create-and-manage-escalation-policies) before you can add Services.
* The number of Services that can be added to an Organization is determined by the [<mark style="color:blue;">plan</mark>](https://squadcast.com/pricing) that your account is currently on.

## Creating a Service <a href="#creating-a-service" id="creating-a-service"></a>

1. Navigate to **Services** -> Click on **Add New Service**. On the next screen, you will be guided through two steps.

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-bffb58641b2e8b95e48e840ca6c2a9251032129a%2Fadd_new_services_1.png?alt=media" alt="How to add a new service in Squadcast"><figcaption></figcaption></figure>

2\. **Define Service**: Enter the **Name** and **Description** based on the function that the service provides. Select an **existing Escalation Policy** and **Owner**. Enter **Tags**, and Click **Save and Continue**.

<div><figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-3425adb323848f7b8b3c99d6a07b9119c52b39a5%2Fadd_new_service_2.png?alt=media&#x26;token=650ea536-5c26-4a2c-a9fa-3232df33bc2e" alt="Define a new service in Squadcasst"><figcaption></figcaption></figure> <figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-d6c31f6f61e72378bdc66e47c158e2461379f05c%2Fadd_new_service_3.png?alt=media&#x26;token=d660a44b-39bd-49b7-901e-38ae21164078" alt="define a new service in Squadcasst"><figcaption></figcaption></figure></div>

{% hint style="info" %}
**How to pick an Owner?**

Typically, an owner of a Service is well versed with the architecture, design and dependencies of the service. Assigning an owner helps others in the team know who they can reach out to should they need help with anything.
{% endhint %}

{% hint style="info" %}
**How to use Tags?**

Use tags to organize, classify and add context to your services. We recommend using tags like Type, Environment, Functionality and Priority to make them more context-rich.

Examples, Environment: PROD, Severity: Sev1, Type: Technical.
{% endhint %}

{% hint style="success" %}
Tips

* Give your services meaningful names that reflect the actual component name or functionality like - Login, Checkout, Payment API
* You can also assign a Squad as the owner of a service
* You can use tags to differentiate between business and technical services
  {% endhint %}

3\. **Add Alert Source**: Select the integration(s) you use to send alerts to this service from the search bar, dropdown, or from a list of our most popular integrations.

If you chose to add an integration to your service, you will now be in the service’s Integrations tab, where you’ll find the integration guide and an integration key. Follow the integration guide instructions to complete the configuration. Once you have completed the integration guide instructions, your service configuration is now complete.

4\. Click on **Done** to Create a **New Service**.

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-9a7597288ea5e610bb3fafef03d681b626b7eedc%2Fadd_new_service_4.png?alt=media&#x26;token=07a55b5b-f37c-48ed-bd9e-eb3c6854db2e" alt="Configure an alert source to new service in Squadcast"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Ensure that the right Team is chosen from the team picker on the top of the screen (which is also visible as a display tag again on the top of the Create Service screen).
{% endhint %}

{% hint style="info" %}
**Note**: You can create and manage a service using our latest Terraform provider (1.0.4). To view our Terraform documentation, click [here](https://registry.terraform.io/providers/SquadcastHub/squadcast/latest/docs).
{% endhint %}

## **Edit Service Setting**

To edit an existing service’s settings:

1. Navigate to **Services** -> **Service Overview** -> select or search for your desired service.
2. Click on the service to navigate to the **Service Details** page.
3. In the top right, click **More** -> **Edit Service.**
4. Once you have edited your preferred settings, click **Save Changes**.

<div><figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-21dcfd5d45b258e4966214ed52e08409342d6a05%2Fedit_services_1%20(1).png?alt=media&#x26;token=19697580-d623-454a-a813-f5d5cda204e8" alt="Edit service settings in Squadcast"><figcaption></figcaption></figure> <figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-8d8e4a4f781749dc104d2f27fdb196cc5aab1c88%2Fedit_services_2.png?alt=media" alt="edit service settings in Squadcast"><figcaption></figcaption></figure></div>

## **Edit a Service’s Escalation Policy**

To edit a service’s escalation policy:

1. Navigate to **Services** -> **Service Overview** -> select or search your desired service.
2. Click on the service to navigate to the **Service Details** page.
3. In the top right, click **More** -> **Edit Service**.
4. Under the escalation policy drop-down, search and select an **escalation policy**.
5. Click **Save Changes.**

<div><figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-21dcfd5d45b258e4966214ed52e08409342d6a05%2Fedit_services_1.png?alt=media" alt="Edit service settings in Squadcast"><figcaption></figcaption></figure> <figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-893d7842c26632b95298de4bcb87fd1043aee40f%2Fedit_services_3.png?alt=media" alt="how to edit Service’s Escalation Policy"><figcaption></figcaption></figure></div>

## **Delete Service**

To delete an existing service:

1. Navigate to **Services** -> **Service Overview** -> select or search for your desired service.
2. Click on the service to navigate to the **Service Details** page.
3. In the top right, select **More** -> **Delete Service.**
4. You will receive a prompt, click on **Yes, Delete Services.**

It will delete your Service.

<div><figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-a4afdbd1590bc160d1d4496dc719dafeb8af4d53%2Fdelete_service_1.png?alt=media" alt="How to delete a service in Squadcast"><figcaption></figcaption></figure> <figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-fbc46419260e2d6439fde5dcf8c9a077acfcf7d8%2Fdelete_service_2.png?alt=media" alt="how to delete service in Squadcast"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
If your Service has any open (triggered/ acknowledged) incidents, the system will not allow service deletion until those incidents are resolved. Click on **Show Open Incidents** to resolve and follow the same steps stated above to delete the service.

To resolve multiple incidents in one shot, check out the [<mark style="color:blue;">Take Bulk Actions</mark>](https://support.squadcast.com/dashboards/take-bulk-actions) documentation
{% endhint %}

## **Add Integrations to an Existing Service**

{% hint style="info" %}
You can add more than one integration on a service, which allows you to represent the actual entities you are monitoring, managing, and operating as services. The list of supported alert source integrations is available [<mark style="color:blue;">here</mark>](https://www.squadcast.com/integrations)<mark style="color:blue;">.</mark>
{% endhint %}

To add an Alert Source Integration to your service:

1. Navigate to **Services** -> **Service Overview** -> select or search for your desired service.
2. In the extreme right, expand the accordion -> In the Alert Sources section, **Add Alert Source**.
3. Select the **integration(s)** you use to send alerts to this service from the search bar, dropdown, or from our most popular integrations list.
4. Click **Add Alert Source**.
5. Now your alert source is added, copy the **Webhook URL**.
6. Follow the Integration Guide to complete configuring the desired alert source.

<div><figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-ca3079d623dfd940da54823cdfb21af756f3dfbb%2FScreenshot%202022-08-08%20at%2012.02.06%20PM.png?alt=media&#x26;token=a6c61255-8465-4813-87f9-06051c7640a3" alt="How to add an alert source integration to your Service in Squadcast"><figcaption></figcaption></figure> <figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-18dd984f80a11bdb7231c4048b6eb9a649868957%2FScreenshot%202022-08-08%20at%2012.02.27%20PM.png?alt=media&#x26;token=0e5e3a67-bcd8-4428-bebe-58f4d0d8c3bf" alt="how to add an alert source integration to your Squadcast service"><figcaption></figcaption></figure></div>

{% hint style="info" %}
**How to send alerts from a source I don’t see here?**

In cases where you want to send custom alerts that don’t come from any tools listed here, you can use our Incident Webhook or our Email integrations.
{% endhint %}

{% hint style="success" %}
**Tips:**

* Incident auto-resolution is enabled by default provided the alert source supports it.
* Email as an alert source does not support incident auto-resolution.
* Reduce alert noise at the source end by sending in just actionable alerts that you want your on-call team to work on.
* When not possible at the source end, use automation rules to group, suppress, tag, and route incidents intelligently.
  {% endhint %}

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*
