Datadog¶
Follow these steps to integrate Datadog with InfraKitchen. This integration allows InfraKitchen to use Datadog provider in your terraform/OpenTofu modules.
1️⃣ Log in to Datadog¶
- Go to the Datadog Dashboard.
- Sign in using your organization credentials.
- Ensure you have Admin or API access privileges in your Datadog account.
2️⃣ Navigate to API Key Settings¶
- From the left sidebar, go to Organization Settings → API Keys (or click here).
- You’ll see a list of existing API keys for your organization.
3️⃣ Create a New API Key¶
- Click + New Key.
-
Give the key a descriptive name — for example:
infrakitchen-api-key -
Click Create API Key.
- Copy the API Key value — you’ll need this for the InfraKitchen configuration.
4️⃣ Navigate to Application Keys¶
- In the same API Keys page, switch to the Application Keys tab. (You can also access it via https://app.datadoghq.com/organization-settings/application-keys)
- Click + New Key.
5️⃣ Create an Application Key¶
-
Enter a descriptive name — e.g.:
infrakitchen-app-key -
Optionally, assign the key to a specific user (recommended for auditing).
- Click Create Application Key.
- Copy the Application Key value.
6️⃣ Collect Required Information¶
Before proceeding, make sure you have:
| Required Value | Description |
|---|---|
| API Key | Used for authenticating API requests from InfraKitchen to Datadog |
| APP Key | Allows InfraKitchen to access dashboards, monitors, and metric data |
| Datadog API URL | Usually https://datadoghq.com (but may vary, e.g. https://datadoghq.eu, https://us3.datadoghq.com, etc.) |
7️⃣ Fill Out the InfraKitchen Integration Form¶
InfraKitchen path: /integrations/datadog/setup
Then fill in the following fields:
| Field | Description |
|---|---|
| Integration Name | A unique name for this integration (e.g., datadog-prod) |
| Description | Brief description of your Datadog environment |
| Labels | Add tags like observability, monitoring, or prod |
| Datadog Site URL | Domain of your Datadog instance (e.g. https://datadoghq.com) |
| API Key | The API key you created in Step 3 |
| Application Key | The Application key you created in Step 5 |
8️⃣ Test the Connection¶
- Click Test Connection.
- InfraKitchen will attempt to connect to Datadog’s API endpoint using the keys provided.
- If successful, you’ll see a confirmation message.
-
If the test fails, verify:
-
The API Key and Application Key are correct.
- The Datadog Site URL matches your region.
- The Application Key user has sufficient permissions.