> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.kodelabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accruent

> Connect Accruent to KODE OS for reservations data

> Connect Accruent to KODE OS for reservations data integration

## Overview

Use this integration to sync Accruent EMS scheduling with KODE OS. You discover resources, collect workspace and event reservation data, and use snapshots for reporting across your portfolio.

| Property            | Value        |
| ------------------- | ------------ |
| **System Type**     | Reservations |
| **Communication**   | REST         |
| **Collection**      | Pull         |
| **Collection Mode** | SNAPSHOT     |

## Supported Capabilities

* Discover Devices & Points
* Collect Sensor Data
* Collect Non-Sensor Data

## Prerequisites

* An active account with Accruent and access to their API or developer portal
* Username and password credentials for the Accruent system
* KODE OS environment with access to Data Sources

## Configure Connector in KODE OS

1. Navigate to **Data Sources** in your building
2. Click **API Catalog** and search for **Accruent**
3. Click **+ Add Datasource**
4. Fill in the fields below and complete the three-page setup flow

| Field                       | Required | Type     | Description                                               |
| --------------------------- | -------- | -------- | --------------------------------------------------------- |
| **URL**                     | Yes      | text     | The base URL or IP address of the external system         |
| **Host Name**               | Yes      | text     | The hostname of the external system                       |
| **Username**                | Yes      | text     | The username for authenticating with the external system  |
| **Password**                | Yes      | password | The password for authenticating with the external system  |
| **API Building ID**         | Yes      | text     | The building or source identifier in the external system  |
| **Schedule Data Source ID** | No       | text     | The schedule data source identifier for syncing schedules |

## Discover Devices and Points

After configuring the connector, click **Discover** on the connector detail page. KODE OS will query the Accruent system and return a list of available devices and their data points.

Review the discovered items and select the devices you want to register in KODE OS.

For more details on the discovery process, see the [Discovery guide](/products/integrations/capabilities/discovery).

## Devices and Points

When you discover devices from Accruent, KODE OS maps them to the following device types and data points:

### Presence / Occupancy Sensor

Canonical Type: `presenceDetection`

| # | Point           | Description                                                                  | Unit | Writable | Collection |
| - | --------------- | ---------------------------------------------------------------------------- | ---- | -------- | ---------- |
| 1 | `room_active`   | **True** -- room\_active is active / **False** -- room\_active is not active | --   | No       | Polling    |
| 2 | `room_occupied` | **True** -- space is currently occupied / **False** -- space is unoccupied   | --   | No       | Polling    |

## What Data You Get

### Point History

Time-series readings including room\_active, room\_occupied, collected at regular intervals from connected devices

### Bookings

Space reservation records including attendees, check-in/out times, confirmation status, and room/space details

KODE OS maps Accruent data to these standard fields:

| KODE Field        | Source Field                                                                                               | Notes                |
| ----------------- | ---------------------------------------------------------------------------------------------------------- | -------------------- |
| **id**            | `bookingID`                                                                                                | --                   |
| **title**         | `eventName`                                                                                                | --                   |
| **locationId**    | `roomID`                                                                                                   | --                   |
| **description**   | `eventTypeDescription`                                                                                     | --                   |
| **status**        | `statusID`                                                                                                 | --                   |
| **category**      | `BookingCategory.ROOM.getDisplayName(`                                                                     | --                   |
| **hasCheckedIn**  | `checkedIn`                                                                                                | --                   |
| **locationName**  | `roomDescription`                                                                                          | --                   |
| **startDateTime** | `gmtStartTime`                                                                                             | transformed          |
| **endDateTime**   | `gmtEndTime`                                                                                               | transformed          |
| **createdAt**     | `DateUtils.getCollectTimeFromBuildingTz( dateAdded, EMSConstants.BOOKING_ENVELOPE_FORMATTER, buildingTz`   | transformed          |
| **updatedAt**     | `DateUtils.getCollectTimeFromBuildingTz( dateChanged, EMSConstants.BOOKING_ENVELOPE_FORMATTER, buildingTz` | transformed          |
| **createdBy**     | `addedBy`                                                                                                  | --                   |
| **updatedBy**     | `changedBy`                                                                                                | --                   |
| **customFields**  | `(custom fields)`                                                                                          | custom fields object |

### Polling Schedule

* **Point History** -- Default polling: 5 minutes (min: 5 minutes, max: 1 hours)
* **Booking** -- Default polling: 5 minutes (min: 5 minutes, max: 1 days)

For more details on collection modes, see the [Data Collection guide](/products/integrations/capabilities/data-collection).

## Use Cases

Once connected, this integration enables you to:

* Centralize space and resource booking data across platforms
* Track no-show rates and actual utilization versus bookings
* Coordinate meeting room conditions (HVAC, lighting) with reservation schedules

## Troubleshooting

<AccordionGroup>
  <Accordion title="Authentication or connection error">
    Verify that the credentials are correct and have not expired. Check that the URL is reachable from the KODE OS environment. Verify the username and password are correct and the account has not been locked in the Accruent system.
  </Accordion>

  <Accordion title="Discovery returns no devices">
    Verify the connector credentials have sufficient permissions in the Accruent system to list devices. Run a test connection first to confirm connectivity. Some systems require specific API scopes or roles for device enumeration.
  </Accordion>

  <Accordion title="Data collection stops or gaps appear">
    Check the connector status on the Data Sources page. If the status shows an error, review the error logs on the connector detail page. Common causes include expired credentials, network changes, or rate limiting by the Accruent API.
  </Accordion>
</AccordionGroup>
