# Requirements

**Some resources are shared and are automatically created during the initial installation phase of Intranet AI (and therefore do not specifically depend on the component)**.<br>

**Below are only the resources actually used by the Booker component:**

* **App Service Plan**\
  Windows-based, created by default with the S1 pricing tier.
* **Application Insights**\
  Used for backend application logs.
* **Azure Cosmos DB Account**\
  Hosts a container with backend configurations for Intranet AI components (including Booker).\
  Estimated cost: approximately $24/month.
* **Log Analytics Workspace**\
  Workspace used by Application Insights.
* **Storage Account**\
  Hosts the JavaScript files for the web parts of Intranet AI components (including Booker).

&#x20;

**When installing the component, the following additional resources are automatically created:**

* **App Service**\
  Web application that provides the backend functionality required by the component.\
  It does not incur specific costs as it relies on the App Service Plan listed among the shared resources.
* **Dedicated Container on Azure Cosmos DB Account**

  Contains all the metadata related to the component, entered by the application itself:

  * Types of bookable entities
  * Bookable entities
  * Properties assignable to bookable entities
  * Reservations\
    \
    **Estimated cost: approximately $24/month.**

### Roles Definition

To proceed with configuring the component, it is important to clearly define roles, **specifying who will manage bookings and who will only be able to make a booking**. This ensures that, during the installation of the web part, we can assign the necessary permissions to specific users.

**Admin users can:**

* View all bookings
* Edit and create new resources
* Delete or modify any booking

**Power Readers can:**

* View all users' bookings but CANNOT modify them

**Users:**

* A basic user can only make a booking and view their own bookings on the dedicated page.


---

# 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.intranet.ai/resource-reservation/requirements.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.
