> 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/fundamentals/services/assigning-resources-to-a-service.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.simplespa.net/simplespa-documentation/fundamentals/services/assigning-resources-to-a-service.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
