# Assigning Resources to a Service

If you have resources setup, you can quickly add those by toggling the Requires Resource checkbox. Once that has been toggled a new area will appear to add the available resources to the service. If a service has been set to require resource(s), then SimpleSpa will only allow bookings to be completed online if the resource is available. In the calendar you can create overbook with an already allocated resource, but SimpleSpa will bring up a warning and the color of the appointment will be in light red indicating that a resource is not available for the service. Resources are typically used for finite equipment, machines and rooms to avoid double bookings. When resources are available, you can quickly toggle a resource calendar view by clicking on the View Dropdown in the appointments page

<figure><img src="/files/MBl3ku3XciV5V30X7I3c" alt=""><figcaption><p>The Requires Resource toggle found in the Edit Service prompt</p></figcaption></figure>

<figure><img src="/files/eqaSNvVD5XmbTeecrI9G" alt=""><figcaption><p>The Resource area, which appears when Requires Resource is toggle on</p></figcaption></figure>

<figure><img src="/files/JXfq79mfCjHSpqnA5v03" alt=""><figcaption><p>The Resource assignment/allocation prompt</p></figcaption></figure>


---

# 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.simplespa.net/simplespa-documentation/fundamentals/services/assigning-resources-to-a-service.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.
