diff --git a/config/_default/menus/main.en.yaml b/config/_default/menus/main.en.yaml index f3f47fa3117..e766e7487bb 100644 --- a/config/_default/menus/main.en.yaml +++ b/config/_default/menus/main.en.yaml @@ -3995,7 +3995,7 @@ menu: parent: cloud_cost_setup identifier: cloud_cost_oracle weight: 205 - - name: SaaS Integrations + - name: SaaS and AI Costs url: cloud_cost_management/setup/saas_costs/ parent: cloud_cost_setup identifier: cloud_cost_saas_cost_integrations @@ -4020,36 +4020,41 @@ menu: parent: cloud_cost_saas_cost_integrations identifier: cloud_cost_saas_cost_integrations_anthropic weight: 104 + - name: Cursor + url: cloud_cost_management/setup/saas_costs/?tab=cursor#configure-your-saas-accounts + parent: cloud_cost_saas_cost_integrations + identifier: cloud_cost_saas_cost_integrations_cursor + weight: 105 - name: GitHub url: cloud_cost_management/setup/saas_costs/?tab=github#configure-your-saas-accounts parent: cloud_cost_saas_cost_integrations identifier: cloud_cost_saas_cost_integrations_github - weight: 105 + weight: 106 - name: Confluent Cloud url: cloud_cost_management/setup/saas_costs/?tab=confluentcloud#configure-your-saas-accounts parent: cloud_cost_saas_cost_integrations identifier: cloud_cost_saas_cost_integrations_confluentcloud - weight: 106 + weight: 107 - name: MongoDB url: cloud_cost_management/setup/saas_costs/?tab=mongodb#configure-your-saas-accounts parent: cloud_cost_saas_cost_integrations identifier: cloud_cost_saas_cost_integrations_mongodb - weight: 107 + weight: 108 - name: Elastic Cloud url: cloud_cost_management/setup/saas_costs/?tab=elasticcloud#configure-your-saas-accounts parent: cloud_cost_saas_cost_integrations identifier: cloud_cost_saas_cost_integrations_elasticcloud - weight: 108 + weight: 109 - name: Fastly url: cloud_cost_management/setup/saas_costs/?tab=fastly#configure-your-saas-accounts parent: cloud_cost_saas_cost_integrations identifier: cloud_cost_saas_cost_integrations_fastly - weight: 109 + weight: 110 - name: Twilio url: cloud_cost_management/setup/saas_costs/?tab=twilio#configure-your-saas-accounts parent: cloud_cost_saas_cost_integrations identifier: cloud_cost_saas_cost_integrations_twilio - weight: 110 + weight: 111 - name: Custom url: cloud_cost_management/setup/custom parent: cloud_cost_setup diff --git a/content/en/cloud_cost_management/_index.md b/content/en/cloud_cost_management/_index.md index 5b49cb3d8b3..6a61102766c 100644 --- a/content/en/cloud_cost_management/_index.md +++ b/content/en/cloud_cost_management/_index.md @@ -72,7 +72,7 @@ Datadog ingests your cloud cost data and transforms it into metrics you can use {{< nextlink href="/cloud_cost_management/setup/azure">}}Azure: Configure Cloud Cost Management for your Azure bill. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/setup/google_cloud">}}Google Cloud: Configure Cloud Cost Management for your Google Cloud bill. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/setup/oracle">}}Oracle: Configure Cloud Cost Management for your Oracle bill. {{< /nextlink >}} - {{< nextlink href="/cloud_cost_management/setup/saas_costs">}}SaaS Cost Integrations: Send cost data from a supported SaaS cost provider to Datadog. {{< /nextlink >}} + {{< nextlink href="/cloud_cost_management/setup/saas_costs">}}SaaS and AI Costs: Send cost data from a supported SaaS cost provider to Datadog. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/setup/custom">}}Custom Costs: Upload any cost data source to Datadog. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/datadog_costs">}}Datadog Costs: Visualize daily Datadog spending and utilization metrics. {{< /nextlink >}} {{< /whatsnext >}} diff --git a/content/en/cloud_cost_management/ai_costs.md b/content/en/cloud_cost_management/ai_costs.md index 9e3195d2ac6..92a3a50936d 100644 --- a/content/en/cloud_cost_management/ai_costs.md +++ b/content/en/cloud_cost_management/ai_costs.md @@ -7,7 +7,7 @@ further_reading: text: "Cloud Cost Management" - link: "/cloud_cost_management/setup/saas_costs" tag: "Documentation" - text: "SaaS Cost Integrations" + text: "SaaS and AI Costs" - link: "/cloud_cost_management/allocation/custom_allocation_rules" tag: "Documentation" text: "Custom Allocation Rules" diff --git a/content/en/cloud_cost_management/setup/_index.md b/content/en/cloud_cost_management/setup/_index.md index 043c4906b58..fb4383b95cc 100644 --- a/content/en/cloud_cost_management/setup/_index.md +++ b/content/en/cloud_cost_management/setup/_index.md @@ -12,7 +12,7 @@ cascade: {{< nextlink href="/cloud_cost_management/setup/azure">}}Azure: Configure Cloud Cost Management for your Azure bill. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/setup/google_cloud">}}Google Cloud: Configure Cloud Cost Management for your Google Cloud bill. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/setup/oracle">}}Oracle: Configure Cloud Cost Management for your Oracle bill. {{< /nextlink >}} - {{< nextlink href="/cloud_cost_management/setup/saas_costs">}}SaaS Cost Integrations: Send cost data from a supported SaaS cost provider to Datadog. {{< /nextlink >}} + {{< nextlink href="/cloud_cost_management/setup/saas_costs">}}SaaS and AI Costs: Send cost data from a supported SaaS cost provider to Datadog. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/setup/custom">}}Custom Costs: Upload any cost data source to Datadog. {{< /nextlink >}} {{< nextlink href="/cloud_cost_management/datadog_costs">}}Datadog Costs: Visualize daily Datadog spending and utilization metrics. {{< /nextlink >}} {{< /whatsnext >}} diff --git a/content/en/cloud_cost_management/setup/saas_costs.md b/content/en/cloud_cost_management/setup/saas_costs.md index add5975ed89..5618cd92e68 100644 --- a/content/en/cloud_cost_management/setup/saas_costs.md +++ b/content/en/cloud_cost_management/setup/saas_costs.md @@ -1,7 +1,5 @@ --- -title: SaaS Cost Integrations -is_beta: true -private: true +title: SaaS and AI Costs disable_toc: false aliases: - /cloud_cost_management/saas_costs @@ -29,19 +27,16 @@ further_reading: text: "Quickly and comprehensively analyze the cloud and SaaS costs behind your services" --- -{{< callout btn_hidden="true" header="Join the Preview!">}} -SaaS Cost Integrations are in Preview. -{{< /callout >}} - ## Overview -SaaS Cost Integrations allow you to send cost data **directly from your providers** by configuring the accounts associated with your cloud cost data in Datadog. +SaaS and AI Costs allow you to send cost data **directly from your providers** by configuring the accounts associated with your cloud cost data in Datadog. {{< card-grid >}} {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=snowflake#configure-your-saas-accounts" src="integrations_logos/snowflake_small.svg" alt="snowflake" >}} {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=databricks#configure-your-saas-accounts" src="integrations_logos/databricks_small.svg" alt="databricks" >}} {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=openai#configure-your-saas-accounts" src="integrations_logos/openai_small.svg" alt="openai" >}} {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=anthropic#configure-your-saas-accounts" src="integrations_logos/anthropic_small.svg" alt="anthropic" >}} + {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=cursor#configure-your-saas-accounts" src="integrations_logos/cursor_small.svg" alt="cursor" >}} {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=github#configure-your-saas-accounts" src="integrations_logos/github_small.svg" alt="github" >}} {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=confluentcloud#configure-your-saas-accounts" src="integrations_logos/confluent-cloud_small.svg" alt="confluent cloud" >}} {{< image-card href="/cloud_cost_management/setup/saas_costs/?tab=mongodb#configure-your-saas-accounts" src="integrations_logos/mongodb_small.svg" alt="mongodb" >}} @@ -58,7 +53,7 @@ If your provider is not supported, use [Custom Costs][1] to upload any cost data Navigate to [**Cloud Cost** > **Settings**, select **Accounts**][8] and then click {{< ui >}}Configure{{< /ui >}} on a provider to collect cost data. -{{< img src="cloud_cost/saas_costs/all_accounts.png" alt="Add your accounts with AWS, Azure, Google Cloud to collect cost data. You can also add your accounts for Fastly, Snowflake, Confluent Cloud, MongoDB, Databricks, OpenAI, Twilio, and GitHub" style="width:100%" >}} +{{< img src="cloud_cost/saas_costs/all_accounts.png" alt="Add your accounts with AWS, Azure, Google Cloud to collect cost data. You can also add your accounts for Fastly, Snowflake, Confluent Cloud, MongoDB, Databricks, OpenAI, Twilio, GitHub, and Cursor" style="width:100%" >}} {{< tabs >}} @@ -183,6 +178,30 @@ After you save your configuration, Datadog begins polling Anthropic usage and co {{% /tab %}} +{{% tab "Cursor" %}} + +
An Enterprise plan and team admin role are required to generate a Cursor Admin API key. Standard team plan accounts return access denied errors.
+ +### 1. Generate an Admin API key + +Begin by getting an Admin API key from Cursor. This key allows access to usage and cost reports across your team. + +1. In the Cursor dashboard, navigate to **Settings > Advanced > Admin API Keys**. +2. Create a new Admin API key and copy it to a secure location. + +### 2. Configure the Datadog integration + +1. In Datadog, go to [**Integrations > Cursor**][101]. +2. On the {{< ui >}}Configure{{< /ui >}} tab, under {{< ui >}}Account details{{< /ui >}}, paste in the {{< ui >}}Admin API Key{{< /ui >}} from Cursor. +3. Under the {{< ui >}}Resources{{< /ui >}} section, click the toggle for each account to enable `Cursor in Cloud Cost Management`. +4. Click {{< ui >}}Save{{< /ui >}}. + +After you save your configuration, Datadog begins polling Cursor usage and cost endpoints using this key, and populates metrics in your environment. Your Cursor cost data for the past 15 months can be accessed in Cloud Cost Management after 24 hours. To access the available data collected by each SaaS Cost Integration, see the [Data Collected section](#data-collected). + +[101]: https://app.datadoghq.com/integrations/cursor + +{{% /tab %}} + {{% tab "GitHub" %}} 1. Create a personal authorization token (classic), with the `manage_billing:enterprise` and `read:org` scopes on the [Personal Access Tokens][109] page in GitHub. @@ -563,6 +582,19 @@ The following table contains a non-exhaustive list of out-of-the-box tags associ {{% /tab %}} +{{% tab "Cursor" %}} + +| Tag Name | Tag Description | +|---|---| +| `billing_group` | The billing group within the Cursor organization to which the usage is attributed. | +| `charge_type` | The category of the Cursor charge (for example, `fast_premium`, `slow_premium`). | +| `hour` | The hour during which the usage was recorded, in UTC. | +| `is_headless` | Indicates whether the usage was generated by a headless session, such as a background agent running outside the Cursor editor (`true` or `false`). | +| `max_mode` | Indicates whether the request used Cursor Max, which routes queries to frontier models at higher cost (`true` or `false`). | +| `user` | The email address of the Cursor user who incurred the cost. | + +{{% /tab %}} + {{% tab "GitHub" %}} **Note**: The GitHub cost integration estimates costs based on list prices and usage data, and includes discount values when available. It does not account for any negotiated rates. diff --git a/content/en/cloud_cost_management/tags/tag_explorer.md b/content/en/cloud_cost_management/tags/tag_explorer.md index 4ad285b91d9..8117a824143 100644 --- a/content/en/cloud_cost_management/tags/tag_explorer.md +++ b/content/en/cloud_cost_management/tags/tag_explorer.md @@ -15,7 +15,7 @@ further_reading: text: "Learn about Datadog Costs" - link: "/cloud_cost_management/setup/saas_costs" tag: "Documentation" - text: "Learn about SaaS Cost Integrations" + text: "Learn about SaaS and AI Costs" - link: "/cloud_cost_management/allocation/tag_pipelines" tag: "Documentation" text: "Learn about Tag Pipelines" diff --git a/static/images/integrations_logos/cursor_small.png b/static/images/integrations_logos/cursor_small.png new file mode 100644 index 00000000000..4a78f0fd129 Binary files /dev/null and b/static/images/integrations_logos/cursor_small.png differ diff --git a/static/images/integrations_logos/cursor_small.svg b/static/images/integrations_logos/cursor_small.svg new file mode 100644 index 00000000000..1718e271c16 --- /dev/null +++ b/static/images/integrations_logos/cursor_small.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +