> For the complete documentation index, see [llms.txt](https://docs.neverinstall.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neverinstall.com/cloudlink/creating-a-cloudlink-space/azure.md).

# Azure

Finding the required cloud credentials for 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="https://567219628-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUprpKTgBFp8sG1IoUvh5%2Fuploads%2FgBLSvfypH91JdeUk2ZN1%2FScreenshot%202023-07-28%20at%203.52.00%20PM.png?alt=media&amp;token=922469e8-f59a-41fc-be4a-b418a5d1a0d2" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
