# Azure

### **For Azure as Your Cloud Service Provider**

If you've selected Azure as your cloud service provider, you'll require the following credentials: Azure Subscription ID, Azure Tenant ID, Azure Client ID, and Azure Client Secret.

To obtain these credentials, follow the steps below:

**Step 1: Create an Azure Account**

If you don't already have an Azure account, create one by following the instructions provided on the Azure website.

**Step 2: Install Azure CLI**

If you already have an Azure account, proceed to install Azure CLI on your local system. You can look into [steps to install azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) for further information.&#x20;

**Step 3: Authenticate Azure CLI**

Run Azure CLI in your terminal and authenticate the CLI by using the command&#x20;

```
az login
```

**Step 4: Copy Azure Subscription ID**

Navigate to your Azure dashboard and copy the subscription ID.

A user can navigate to the subscriptions tab as highlighted and access their subscription ID.&#x20;

<figure><img src="/files/srSsgmFI0kee3thXc654" alt=""><figcaption><p>Azure dashboard.</p></figcaption></figure>

**Step 5: Set Subscription ID**

Run the following command in your terminal, replacing `"SUBSCRIPTION_ID"` with your actual subscription ID:

```
az account set --subscription="SUBSCRIPTION_ID"
```

**Step 6: Create New Service Principal**

Create a new service principal with 'Contributor' role using the following command, again replacing `"SUBSCRIPTION_ID"` with your actual subscription ID:

```
az ad sp create-for-rbac --role="Contributor" \
--scopes="/subscriptions/SUBSCRIPTION_ID"
```

**Step 7: Collect Your Credentials**

The command executed in step 6 will return several values including `appId`, `displayName`, `password`, and `tenant`.

In this context, `appId` is your Azure "Client ID", `tenant` is your Azure "Tenant ID", and `password` is your Azure "Client Secret".

Please be sure to save these values safely as they will be needed to create an instance in Neverinstall.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neverinstall.com/cloudlink/creating-a-cloudlink-space/azure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
