Datadog
Learn how to integrate AI agents with Datadog using xpander.ai. Create intelligent observability workflows that automatically detect anomalies, correlate incidents across your stack, and trigger remediation actions.
About Datadog
Datadog offers a Software-as-a-Service (SaaS) platform that provides observability across an organization’s entire technology stack.
Key features include:
-
Infrastructure Monitoring: Real-time tracking of servers, containers, databases, and cloud services.
-
Application Performance Monitoring (APM): End-to-end tracing and diagnostics for applications.
-
Log Management: Centralized logging with search and analytics capabilities.
-
Security Monitoring: Threat detection and compliance monitoring.
-
User Experience Monitoring: Frontend performance metrics and session data.
-
Network Monitoring: Visibility into network traffic and device performance.
Authentication Options
Below are possible authentication options you can choose:
Generate a Datadog API Key
- Log in to your Datadog account. Make sure you log in to the correct Datadog region for your account.
- In the sidebar, click on Go to, type API Keys, and select API Keys from the search results.
- You’ll now see the API keys for your Datadog account.
- To access the Datadog API, you’ll also need an application key.
- In the sidebar, click on Application Keys, then click New Key.
- Give your key a name and assign the necessary scopes based on your use case.
Integrate Datadog into xpander.ai
- In your xpander.ai dashboard, go to the Apps section in the sidebar.
- Select Datadog from the available integrations.
- Click Enable.
- Enter an Interface name, e.g., “xpander-datadog”.
- Select API Key as the authentication mode.
- Choose Integration User as the authentication scope.
- Paste your Datadog API key into the provided field.
- Set the Auth Type to Custom.
- In the Custom header name field, enter
DD-API-KEY
. - Paste your Datadog application key into the DD-APPLICATION-KEY field.
- Under Interface specific settings, enter the base URL:
https://api.datadoghq.{domain}/
, replacing with the domain corresponding to your Datadog account region. - Save the configuration.
Generate a Datadog API Key
- Log in to your Datadog account. Make sure you log in to the correct Datadog region for your account.
- In the sidebar, click on Go to, type API Keys, and select API Keys from the search results.
- You’ll now see the API keys for your Datadog account.
- To access the Datadog API, you’ll also need an application key.
- In the sidebar, click on Application Keys, then click New Key.
- Give your key a name and assign the necessary scopes based on your use case.
Integrate Datadog into xpander.ai
- In your xpander.ai dashboard, go to the Apps section in the sidebar.
- Select Datadog from the available integrations.
- Click Enable.
- Enter an Interface name, e.g., “xpander-datadog”.
- Select API Key as the authentication mode.
- Choose Integration User as the authentication scope.
- Paste your Datadog API key into the provided field.
- Set the Auth Type to Custom.
- In the Custom header name field, enter
DD-API-KEY
. - Paste your Datadog application key into the DD-APPLICATION-KEY field.
- Under Interface specific settings, enter the base URL:
https://api.datadoghq.{domain}/
, replacing with the domain corresponding to your Datadog account region. - Save the configuration.
Integration of Datadog into AI Agent
Once you’ve configured your Datadog account with the authentication option(s) described above, you can integrate it into your AI agent with xpander.ai:
- Go to the + sign located in the top right of the graph visualization of your xpander.ai agent.
- Select Apps.
- Choose Datadog with the same Interface name you configured in the previous section (e.g., xpander-datadog).
- Select the available Datadog operations that suit your use case.
Expose Datadog as MCP Server
Alternatively, you can also expose your Datadog account as an MCP server. To do so:
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Datadog with the same Interface name you configured in the previous section (e.g., xpander-datadog).
- Click MCP Configuration.
- Enter the MCP configuration into the appropriate settings of the client app you want to use (e.g., Cursor, Windsurf, Claude Desktop, etc.).
AI Agent Datadog Prompt Library
Below are possible prompts or use cases you can try after integrating Datadog into your xpander AI agent: