Skip to main content

Connector Details

Credentials Setup

Follow the steps below to get the credentials needed to connect CMiC to Hotglue using OAuth 2.0 Client Credentials. This guide covers CMiC Patch 22 or later only. Official CMiC references: Complete Microsoft Entra first, then finish everything in CMiC.
  1. Register an app in Microsoft Entra ID
  2. Create a service user in CMiC
  3. Register the app in CMiC API Security
You need:
  • Admin access to Microsoft Entra ID (Azure AD)
  • Admin access to CMiC

1. Register an app in Microsoft Entra ID

  1. Sign in to the Azure Portal.
  2. Open Microsoft Entra ID.
  3. On the Overview page, click + Add → App registration.
  4. Enter a name (for this example, we used cmic-oauth2).
  5. Under Supported account types, select Single tenant (your organization only).
  6. Under Redirect URI, choose Web and enter:
Use your environment’s Web App URL from the table below. Source: Cloud Web APP and API URLs.
  1. Click Register.

Copy your IDs

After registration, you land on the app Overview page: Microsoft Entra app Overview page after registration. Copy Application (client) ID and Directory (tenant) ID from Essentials. Copy and save these two values from Essentials:
  • Application (client) ID — this is your Client ID
  • Directory (tenant) ID — this is your Tenant ID

Create a client secret

  1. On the app Overview page, under Essentials, click Client credentials.
  2. This opens Certificates & secrets. Open the Client secrets tab.
  3. Click New client secret.
  4. Add a description, choose an expiry, and click Add.
  5. Copy the secret Value right away (you will not see it again). This is your Client Secret.
You are done in Entra. Keep the Client ID, Tenant ID, and Client Secret for the next steps.

2. Create a service user in CMiC

Create a dedicated CMiC user for this integration (not a person’s everyday login). Official CMiC guide: System Data – Create New User for Cloud.
  1. Sign in to your CMiC web app.
  2. Go to System Data → Security → Users → User Maintenance.
  3. Click Create New User. This opens the User Setup page:
CMiC User Setup page with User Profile and Security sections.
  1. Fill in the User Profile fields. Example:
  1. Under Security, assign the roles this service user needs (or copy them from a similar access user).
  2. Click Create.
  3. On Finish Setup, follow the steps shown, then click Ok.
  4. Check the confirmation email sent to the address you entered, and follow the steps there to finish setting up the user.

3. Register the app in CMiC API Security

  1. In CMiC, go to System Data → API Management → Setup → API Security.
  2. At the top of the page, open the App Registration step.
  3. Click Insert and fill in:
  1. Click Save.

Checklist

  • Entra app registered
  • Client ID, Client Secret, and Tenant ID stored
  • CMiC service user created
  • CMiC App Registration saved