System integration
NOTE: The functionality displayed in this topic might not be the same as what you see for your organization. Your Energy Hub feature plan subscription determines what functionality is available for this feature. For feature plan details, see Feature plans.
Overview
Share Energy Hub data with other applications through an application programming interface (API).
Features
[Web app only]
System integration provides an API that is based on the Open Authorization (OAuth) 2.0 protocol, an open, industry-standard framework for token-based authorization on the internet. This API gives access to energy system data in Energy Hub, including alarms. It can also be used to retrieve configuration data, such as details on the organization model.

Access client
For a client application to connect to the API, you need to create an access client in Energy Hub. An access client has a client ID, a client secret, a role, and access permissions. The client application then uses the access client credentials to connect to the API. You can create multiple access clients for multiple client applications that can access the API at the same time.
The following table gives more information on the access client details:
Property | Description |
---|---|
Client ID | The client ID is an auto-generated value that Energy Hub uses to identify the client application requesting access. |
Client secret | The client secret is an auto-generated 'password' that the client application uses to authenticate with Energy Hub. |
Role | The role determines which actions the client application can take in Energy Hub. This is similar to the user roles in Energy Hub. |
Access permissions | Access permissions determine which data the client application can access in Energy Hub. This is similar to the user access permissions in Energy Hub. For example, the "All My Organization" access permissions allow access to all data in the organization, but not data in other organizations. |

There are no software-based alarm types for Energy Hub API. To learn more about alarming in Energy Hub, see Alarming.

Prerequisites
Verify that:
- You have an active Energy Hub subscription to a Data-as-a-service (DaaS) feature plan or a regular plan with DaaS add-on. For information on subscriptions, see Energy Hub subscriptions.
- The Integrations tab in Energy Hub Setup is visible. The tab is only displayed with a DaaS feature plan or add-on.
Configuration
Create an access client for each application that you want to integrate with Energy Hub.
For step-by-step instructions on this configuration task, see system integration tasks.

The Energy Hub API uses GraphQL as a query language. You can use any REST client application to connect to the API. For more information on the API, the Energy Hub data model, and GraphQL query details, see Energy Hub API Reference (requires a Schneider Electric ID login).