@datadog/ai-setup-cli
v1.0.6
Published
Interactive tool for Datadog setup
Maintainers
Readme
AI Setup CLI
Join the Preview!
AI Setup CLI is in Preview.
An interactive CLI tool that uses AI agents to automatically instrument projects with Datadog products. Instead of manual SDK integration, this CLI leverages Claude to intelligently modify your codebase, detect your project structure, and set up Datadog products.
Quick Start
Run against any frontend project:
npx @datadog/ai-setup-cli \
--product rum \
--site datadoghq.comArguments
| Argument | Description | Required | Default |
|----------|-------------|----------|---------|
| --site | Datadog site to use (see Supported Sites) | Yes | — |
| --product | Product to instrument (see Supported Products) | Yes | — |
| --auto-approve | Auto-approve all bash commands without prompting | No | false |
Product-specific arguments
Each product can define additional CLI arguments. Pass them as --flag-name=value.
| Argument | Products | Description |
|----------|----------|-------------|
| --app-id | rum, error-tracking, product-analytics | RUM Application ID |
| --api-key | llm-obs | Datadog API Key |
Supported Sites
| Site | Value |
|------|-------|
| US1 | datadoghq.com |
| US3 | us3.datadoghq.com |
| US5 | us5.datadoghq.com |
| EU1 | datadoghq.eu |
| AP1 | ap1.datadoghq.com |
| AP2 | ap2.datadoghq.com |
Supported Products
| Product | Value |
|---------|-------|
| Error Tracking | error-tracking |
| Real User Monitoring | rum |
| LLM Observability | llm-obs |
| Product Analytics | product-analytics |
| Infrastructure Monitoring (Kubernetes) | infra-monitoring |
