Overview
Use the API & Integrations module in Enterprise Hub to enable API credentials on your account and simplify Client ID & Secret key management.
Who uses this feature
Applies to all business types
Feature configuration
This feature requires an Enterprise Hub network. Contact your Customer Success Manager to request a network or contact technical support for details.
Things to know
To access API & Integrations, your users must have the appropriate permissions added to their roles. For more, see Manage user roles in Enterprise Hub.
Use the API & Integrations module only if you consider your organization to be the resource owner of the data under all the tenants.
Contact your customer success manager (CSM) and make sure all your Tenant IDs are added to the Enterprise Hub network.
A network is a set of all your tenant IDs in Enterprise Hub.
A group is a subset of your tenant IDs that you create to connect to an App.
Generate one pair of Client ID & Secret key for each group and App and use the same pair across all the tenant IDs when making the API call.
Use cases
Customer: Good Plumbing with 50 tenants (IDs). Tenant 1, Tenant 2, Tenant 3 … Tenant 50
Network: Good Plumbing Network consists of all 50 tenants (IDs). Tenant 1, Tenant 2, and more.
Group: A group is a full set or a subset of the tenants that are a part of the network connecting to the same App.
For example, Group 1: Tenant 1, Tenant 2, Tenant 15, Tenant 50: Connecting to App 1. Group 2: Tenant 1, Tenant 2, Tenant 25, Tenant 40: Connecting to App 2.
Client ID & Secret key: A single pair of Client ID & Secret keys can be generated at the Group level and can be shared across all the tenants that are a part of the same group. That means you can pass the same Client ID & Secret key to all the tenants (IDs) that are a part of the group.
Group 1: Tenant 1, Tenant 2, Tenant 15, Tenant 50: Connecting to App1: Will share the same Client ID (X1) and Secret key (Y1)
Group 2: Tenant 1, Tenant 2, Tenant 25, Tenant 40: Connecting to App 2: Will share the same Client ID (X2) and Secret key (Y2)
Generate the multi-tenant Client ID & Secret key pair through Enterprise Hub
Prerequisites
Make sure a developer creates the App through the developer portal.
Log in to My Apps.
Contact your CSM to get your Enterprise Hub Network ID. When your network is created in the Enterprise hub, a network ID will be generated.

Grant access to API and Integrations
To grant access to API and Integrations for a role:
In Enterprise Hub, click User Management.

Select Roles.

In the EnterpriseHub permissions tab, enable the View permission for API & Integrations.
Either create a new user role or edit an existing user role.
In the EnterpriseHub permissions tab, enable the View permission for API & Integrations.

Click Save Changes. Users assigned this role can now see the API & Integrations module in EnterpriseHub.
Step 1: Log in to your Enterprise Hub
Log in to your Enterprise Hub using your credentials.
Click the API & Integrations module.

Step 2: Create a New Group
Click Create New Group.

Enter the name of your Group.
Click Create Group.

Select all the tenants you want them to be a part of this Group.

When finished, click Save. Your group is created and appears on the page.

Click More
to perform the following operations:Edit: To add or remove tenants from the group
Delete: You can delete the group
Connect New App: You can subscribe to an App for the group and create a Client ID & Secret key at the group level.

Step 3: Connect New App to the Group
On your newly created Group, click More
and select Connect New App.

Step 4: Select the App you want to connect
Choose the specific App you want to connect to the group and click Connect New App.
On the Terms and Conditions window that opens, read the terms and conditions and click Accept.
Select the App you want to connect to and click Connect.

Click Allow Access.
A message confirming that the App is connected appears.Click Generate.

On the window that opens, click Yes, Continue. The Client Secret opens.

Step 5: Embed the generated Client ID & Secret key into your App
When you connect a new App to a Group, a new Client ID & Secret key is generated. Embed this newly generated Client ID & Secret key to your App.
Step 6: Use the same Client ID & Secret key for all tenants in the Group
Pass the same pair of Client ID & Secret keys each time you want to make an API call on behalf of any tenant that is part of the Group connecting to the App.
Want to learn more?
Visit ServiceTitan Academy and enroll in Enterprise Hub Introduction
See Enterprise Hub