# Azure

This page documents the Azure-specific setup and supported resources for Cost Explorer (Gantt).

### Step 1: Add Your Azure Account

Cost Explorer (Gantt) requires your Azure account to be added to MechCloud. Follow the Azure onboarding guide to connect your account:

[Add Azure Account](/cloud-computing/add-an-account/azure.md)

### Step 2: Configure Permissions

The service principal created during Azure onboarding must have **Reader** role on the subscription or resource groups to be monitored.

### Step 3: Create a Resource Context

A Resource Context defines the logical boundary within which Stateless IaC and related visualizations operate. Follow the Resource Context setup guide:

[Resource Context](/cloud-computing/stateless-iac/resource-context.md)

### Step 4: Provision Infrastructure Using Stateless IaC

Once the Azure account and Resource Context are configured, infrastructure can be provisioned using Stateless IaC.

Follow the Stateless IaC authoring guide:

[Stateless IaC for Azure](/cloud-computing/stateless-iac/azure.md)

### Supported Resources

See the [Supported Resources](/cloud-computing/cost-explorer/azure/supported-resources.md) page for the complete list of Azure resource types supported by Cost Explorer.

### Demo

{% embed url="<https://www.youtube.com/watch?v=yom-zrPwqBM>" %}


---

# 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.mechcloud.io/cloud-computing/cost-explorer/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.
