---
title: Create a Service Principal (CSP installs)
canonical: "https://cloudmonitor.ai/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations/"
description: "This step is only for required for CSP installations. If you are not installing through a CSP, please do not follow these steps."
---

This step is only for required for CSP installations. If you are not installing through a CSP, please do not follow these steps.

### Step 1


Login to the Customer's tenant with admin account and Search for "App Registrations"

![Login to the Customer's tenant with admin account and Search for "App Registrations"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-01.jpeg)

### Step 2


Click "Owned applications"

![Click "Owned applications"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-02.jpeg)

### Step 3


Click here.

!["New registration" button in the App Registrations panel](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-03.jpeg)

### Step 4

Provide a name for the Service Principal.

Note - Please remember this name as it will be needed in next steps.

### Step 5


Click "Accounts in this organizational directory only (Data-Driven AI only - Single tenant)"

![Click "Accounts in this organizational directory only (Data-Driven AI only - Single tenant)"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-04.jpeg)

### Step 6


Click "Register"

![Click "Register"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-05.jpeg)

### Step 7


Then, Click "Certificates & secrets"

![Then, Click "Certificates & secrets"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-06.jpeg)

### Step 8


Click on "New Client Secret".

![Click on "New Client Secret"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-07.jpeg)

### Step 9


Add a description to the Client Secret and Choose an expiration period. We suggest you provide at least "365 days (12 months)"

![Add a description to the Client Secret and Choose an expiration period. We suggest you provide at least "365 days (12 months)"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-08.jpeg)

### Step 10


Click "Add"

![Click "Add"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-09.jpeg)

### Step 11


Copy the Secret Value(Not the Secret ID) and note it somewhere since it will be needed in next steps.

![Copy the Secret Value(Not the Secret ID) and note it somewhere since it will be needed in next steps](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-10.jpeg)

### Step 12


Now, Click on "Overview"

![Now, Click on "Overview"](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-11.jpeg)

### Step 13


Then, copy the Client ID and note it somewhere since it will be needed in next steps.

![Then, copy the Client ID and note it somewhere since it will be needed in next steps](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-12.jpeg)

### Step 14


Next, copy the Obejct ID and note it somewhere since it will be needed in next steps.

![Next, copy the Obejct ID and note it somewhere since it will be needed in next steps](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-13.jpeg)

### Step 15


Finally, copy the Tenant ID and note it somewhere since it will be needed in next steps.

![Finally, copy the Tenant ID and note it somewhere since it will be needed in next steps](../../../../assets/docs/about-cloudmonitor/how-create-service-principal-customer-s-tenant-csp-installations-14.jpeg)

:::tip
You have successfully created a Service Principal in Customer's tenant. At the end of the steps, you should have below information about the Service Principal,

1. Service Principal Name (Step 4)
2. Client Secret (Step 11)
3. Client Id (Step 13)
4. Object Id (Step 14)
5. Tenant Id (Step 15)
:::
