> For the complete documentation index, see [llms.txt](https://docs.simplespa.net/simplespa-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.simplespa.net/simplespa-documentation/daily-operations/services/assigning-resources-to-a-service.md).

# Assigning Resources to a Service

Require a resource such as a room, machine or piece of equipment for a service to avoid double bookings.

This page explains how you require resources for a service so that finite equipment, machines and rooms are not double booked.

## Adding resources to a service

If you have resources set up, you can add them to a service:

1. In the **Edit Service** prompt, check the **Requires Resource** checkbox.
2. In the new area that appears, add the available resources to the service.

<figure><img src="https://695085455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa9tSKQ7Cexg8YEba5Evb%2Fuploads%2F2RQz89QiJK6WpHhgsKu0%2FScreenshot%202024-07-09%20at%205.35.28%E2%80%AFPM.png?alt=media&#x26;token=ea437513-7a26-405c-a5b4-934a0a76bdbc" alt=""><figcaption><p>The Requires Resource toggle in the Edit Service prompt</p></figcaption></figure>

<figure><img src="https://695085455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa9tSKQ7Cexg8YEba5Evb%2Fuploads%2FkChZnhvYPXTytLBGgWYO%2FScreenshot%202024-07-09%20at%205.35.45%E2%80%AFPM.png?alt=media&#x26;token=4e39a082-253e-4aff-b78f-da57b7054708" alt=""><figcaption><p>The Resource area, which appears when Requires Resource is turned on</p></figcaption></figure>

<figure><img src="https://695085455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa9tSKQ7Cexg8YEba5Evb%2Fuploads%2FLDfw8K77KQ6SM3GrcMJv%2FScreenshot%202024-07-09%20at%205.36.06%E2%80%AFPM.png?alt=media&#x26;token=69bf09ae-6478-48d0-b345-2ac239f28c02" alt=""><figcaption><p>The Resource assignment/allocation prompt</p></figcaption></figure>

## How resources affect booking

* **Online booking:** If a service requires resource(s), SimpleSpa only allows the booking to be completed online when the resource is available.
* **Calendar:** You can still overbook an already allocated resource in the calendar. SimpleSpa shows a warning, and the appointment appears in light red to indicate that a resource is not available for the service.

{% hint style="info" %}
When resources are available, you can switch to a resource calendar view from the **View** dropdown on the appointments page.
{% endhint %}

## Related

* [Fields and Service Settings](/simplespa-documentation/daily-operations/services/fields-and-service-settings.md)
* [Calendar](/simplespa-documentation/daily-operations/appointments/calendar.md)
