# Datadog Agent

* Click on Install Agent Manager Button.
* Select Platform and Datadog for Agent.
* Click on Add Secret to add API KEY and your Datadog SIte.
  * type key name as "api\_key" for API Key.
  * type key name as "dd\_site" for Datadog Site.

<figure><img src="/files/7dglwMXzeDTuifV81sJE" alt=""><figcaption></figcaption></figure>

* click on proceed, and then follow the instructions provided in the Readme File.

#### Check agent-manager status:

To check the status of agent-manager, and the running agents on a Linux host:

```
$ sudo systemctl status agent-manager-datadog
```

To get agent-manager logs on a Linux host:

```
$ sudo journalctl -n 100 -f -u agent-manager-datadog
```

To check the status of agent-manager, and the running agents on a Windows host, use the **Windows Services** app, and locate the service named **agent-manager-datadog**.

To get agent-manager logs on a Windows host, use the **Windows Event Viewer** app. The logs from agent-manager will be located in the **Windows Logs > Application** logs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/fleet-management/list-of-agents/datadog-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
