# Creating an access schedule

## 1. Create a day template

1. Go to **Site setup** > **Day templates** tab
2. Create a new day template with a suitable name and icon
3. When you’ve created the new day template, all the rooms and zones on the site will be listed

{% hint style="info" %}
You can copy access from an existing day template. This is helpful when your new day template will have a similar access schedule to an existing one. Copying the access schedule won’t link the two day templates in any way
{% endhint %}

## 2. Manage access

To see the access schedule for a room or zone, click on the room or zone

<figure><img src="/files/Ae87sTrZWPTYrC7hlhlj" alt=""><figcaption></figcaption></figure>

The access schedule is divided into 3 sections. To edit any section, hover your cursor over it until the pencil icon ✏️ appears, then click to edit

* **Door state** - whether the door is locked (so only specific users and groups can enter) or unlocked (so anyone can enter)
* **Access when locked -** the specific users and groups who can access the room when the door state is locked. Access can be added in time blocks (e.g. 6 AM to 6 PM)

> **Example**
>
> Only users in the Marketing group can access the Marketing meeting room ***when it is locked*** from 9 AM to 5 PM
>
> Outside of these times, the door is unlocked so anyone can enter

* **Access when locked or booked** - the specific users and groups who can access the room at any time, even if the door is locked, or if the room is booked. Learn more about [booking-based access](/setting-access/booking-based-access.md)

> **Example**
>
> An IT technician can access the Marketing meeting room ***at any time*** including when it is locked from 9 AM to 5 PM

**Door state**

1. Hover over the door state section and click the edit pencil to configure door states
2. To add a period where the door is unlocked you can either:
   1. click '+' to the right of the access schedule and input an unlocked time range

      or
   2. click and drag on the access schedule to create an unlocked period

**Access when locked**

1. Click the edit pencil to configure access for when the door is locked
2. Search for the users and groups to allow access to when the door is locked
3. Set the start and end time for access to be allowed

{% hint style="info" %}
Search will show you both users and groups created on Accessia and also those synced from integrations such as Microsoft Entra ID and Okta
{% endhint %}

**Access when locked or booked**

1. Click the edit pencil to configure access regardless of door state or time of day
2. Search for the users and groups to allow access to when locked or booked

## 3. Apply the access schedule

1. Once a schedule has been created for all rooms and zones within the site, click **Apply to dates** in the sidebar on the left
2. Select which dates this access schedule applies to

{% hint style="info" %}
You can quickly select all instances of a given day (e.g. Wednesdays) by clicking the **WED** header on the calendar, or select all weekdays using the dedicated **Weekdays** dropdown above
{% endhint %}

{% hint style="info" %}
You can view which day template is being used on any given date from the **Calendar** tab
{% endhint %}

## **Make changes to access schedules**

The **Schedule** tab shows the day template in use on any given date

1. Go to the date where a change needs to be made and expand the relevant room / zone
2. Manage access, as per section 2 above
3. To save changes, click the **Update** button containing the specific date you are changing

{% hint style="info" %}
To change all instances of a day template, click the **Update** button containing the day template name
{% endhint %}


---

# 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.accessia.com/setting-access/creating-an-access-schedule.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.
