---
title: Elastic Cloud Cost Management
description: >-
  Integrate Elastic Cloud billing data with Datadog for cost allocation,
  optimization, and reporting.
breadcrumbs: Docs > Integrations > Elastic Cloud Cost Management
---

# Elastic Cloud Cost Management
Integration version1.0.0
## Overview{% #overview %}

View your Elastic Cloud billing information in [Datadog Cloud Cost Management](https://app.datadoghq.com/cost), allowing you to understand your Elastic Cloud costs, allocate them by deployment, and optimize your cloud spending.

This integration collects billing data from your Elastic Cloud organization, including:

- Deployment costs broken down by resource type (for example, Elasticsearch, Kibana, or APM)
- Cost allocation by deployment tags and metadata
- Historical billing data for trend analysis

## Setup{% #setup %}

### Prerequisites{% #prerequisites %}

- An Elastic Cloud account with billing access
- Organization Administrator or Billing Administrator role in your Elastic Cloud organization

### Installation{% #installation %}

The Elastic Cloud Cost Management integration is installed automatically when you configure it through the Datadog integrations page.

### Configuration{% #configuration %}

To configure the Elastic Cloud Cost Management integration:

1. **Generate an Elastic Cloud API Key**:

   - Log in to your [Elastic Cloud console](https://cloud.elastic.co).
   - Navigate to **Organization Settings** -> **API Keys**.
   - Click **Create API Key**.
   - Provide a descriptive name (for example, "Datadog CCM Integration").
   - Select the following minimum required permissions:
     - **Billing**: Read access to billing data
     - **Deployments**: Read access to deployment information
   - Click **Create** and copy the generated API key (you won't be able to see it again).

1. **Get your Elastic Organization ID**:

   - In the Elastic Cloud console, navigate to **Organization Settings**.
   - Copy your **Organization ID** from the overview page.

1. **Configure the integration in Datadog**:

   - Navigate to the [Elastic Cloud Cost Management integration tile](https://app.datadoghq.com/integrations/elastic-cloud-ccm) in Datadog.
   - Click **Add Account**.
   - Enter the following information:
     - **Elastic Organization ID**: Your organization ID from step 2
     - **API Key**: The API key generated in step 1
   - Click **Save**.

### Validation{% #validation %}

To validate that the integration is working correctly:

1. Navigate to the [Cloud Cost Management page](https://app.datadoghq.com/cost) in Datadog.
1. Filter by **Provider: Elastic Cloud** .
1. Verify that you can see your Elastic Cloud billing data.
1. Check that deployment-level cost breakdowns are available.

**Note**: It may take up to 24 hours for initial billing data to appear after configuration.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

Elastic Cloud CCM does not include any metrics.

### Service Checks{% #service-checks %}

Elastic Cloud CCM does not include any service checks.

### Events{% #events %}

Elastic Cloud CCM does not include any events.

## Troubleshooting{% #troubleshooting %}

### No billing data appearing{% #no-billing-data-appearing %}

- Verify that your API key has the correct permissions (Billing read access).
- Ensure your Elastic Organization ID is correct.
- Check that your account has billing data available (new accounts may not have data yet).
- Wait up to 24 hours for initial data synchronization.

### Authentication errors{% #authentication-errors %}

- Regenerate your API key in the Elastic Cloud console.
- Update the API key in the Datadog integration configuration.
- Ensure your user account has the required permissions in Elastic Cloud.

### Missing deployment information{% #missing-deployment-information %}

- Verify that your API key has Deployments read access.
- Check that deployments exist in your Elastic Cloud organization.
- Ensure deployments have been running long enough to generate billing data.

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
