1. Home
  2. Integrations
  3. GLPI integration guide

GLPI integration guide

Welcome to the configuration guide for integrating GLPI with Hector. At the end of this guide, you will be able to automatically synchronize the computers from your GLPI inventory into Hector as assets.

1. Prepare GLPI

Hector connects to GLPI through its REST API. You need a GLPI administrator account to complete the following steps.

Enable the REST API

  1. In GLPI, go to Setup > General, then open the API tab.
  2. Set Enable Rest API to Yes.
  3. Set Enable login with external token to Yes.
  4. Save.

Create an API client (application token)

  1. On the same API tab, click Add API client.
  2. Give it a name (for example Hector) and make sure it is Active.
  3. Leave the IPv4/IPv6 address range empty, or contact our support team to get the addresses to allow if you restrict access by IP.
  4. Check Regenerate next to Application token (app_token), save, and copy the generated token.

Get a user token

Hector reads GLPI with the rights of a GLPI user. We recommend creating a dedicated user for the integration.

  1. Log in to GLPI as that user and open My settings (click the user name in the top right corner).
  2. In the Remote access keys section, check Regenerate next to API token, save, and copy the generated token.

The user’s profile must be able to read computers, operating systems, network ports and IP addresses for every entity you want to import. Only the computers this user can see in GLPI are imported into Hector.

Your GLPI server must be reachable from the internet over HTTPS so that Hector can connect to it.

2. Login to your Hector account

You must be an administrator to activate the GLPI integration.

3. Integrations

Navigate to Settings. In the Integrations section, you can find the GLPI integration in the Inventory tab.

In the Authentication tab, complete the three fields:

  • Api Url: the root URL of your GLPI server, for example https://glpi.example.com. You do not need to add /apirest.php.
  • Application token: the token of the API client created in step 1.
  • User token: the API token of the GLPI user created in step 1.

Click Validate. If something is wrong, an error message will appear indicating what to fix. If you regenerate either token in GLPI later, you must update it in Hector for the integration to keep working.

4. Options

Once the connection is validated, you will be redirected to the Configuration tab, where you can select the options you want.

Initial Destination

This part corresponds to the default Stockroom and Category your new assets will be directed to. The stockroom is required. The category is required unless Synchronize categories is checked.

Synchronization

  • Synchronize categories: one category is created in Hector for each GLPI computer type (Laptop, Desktop, Server…) and assets are placed in the category matching their type. When unchecked, all assets go to the default category.

Fields

In the Attribute selector, you can choose the additional fields imported into Hector as attributes. The attributes are created automatically the first time they are used in an integration (all integrations share the same attributes), and their name follows your instance language, not your user language preference.

Serial Number is our synchronization key, so it cannot be unchecked.

Click Save to activate the integration.

How the Integration Works

What to expect when syncing

Once the integration is enabled, Hector synchronizes with GLPI once a day, in the evening. Each GLPI computer is matched to an existing Hector asset by its GLPI link or its serial number. When no asset matches, a new asset is created in the initial destination. Inactive assets, and assets whose state excludes them from integrations, are not updated.

Field Mapping

When a GLPI computer is synchronized in Hector, the following fields are populated:

GLPI FieldHector FieldNotes
TypeCategoryMatches a type with a category only if Synchronize categories is checked. Else, the asset is put in the default category.
Manufacturer + ModelPartAn existing part with the same maker and model is reused, otherwise a new one is created.
Inventory numberAsset TagNot applied if your instance generates its own asset tags. An existing tag is never erased.
CommentsNote
Serial numberSerial NumberSynchronization key.

The following attributes can also be selected in the Fields tab:

GLPI FieldHector Attribute
NameDevice name
Operating systemOperating system
Operating system versionOperating system version
Network port MAC addressEthernet MAC Address
IP addressIP Address
LocationLocation
User (or Alternate username)User Name
ManufacturerMaker
TypeDevice type
ModelModel

The GLPI location is stored as an attribute and does not move the asset to another stockroom.

That completes the GLPI integration guide. If you have any questions, or would like support integrating in your environment, please reach out to our sales team for more information.

Updated on October 30, 2026

Was this article helpful?

Related Articles