---
title: Tabs
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Cdocs e2e tests > Tabs
---

# Tabs

## Overview{% #overview %}

This page contains examples of the tabs component.

## Examples{% #examples %}

### Two tabs{% #two-tabs %}

{% tab title="Python" %}
Install the Datadog Python library:

In the `install.sh` file:

```
pip install datadog
```

{% /tab %}

{% tab title="Ruby" %}
Install the Datadog Ruby library:

In the `install.sh` file:

```
gem install datadog
```

{% /tab %}

### Three tabs{% #three-tabs %}

{% tab title="Linux" %}
Run the following command to install the Agent on Linux:

In the `install.sh` file:

```
DD_API_KEY=YOUR_API_KEY bash -c "$(curl -L https://install.datadoghq.com/scripts/install_script.sh)"
```

{% /tab %}

{% tab title="macOS" %}
Run the following command to install the Agent on macOS:

In the `install.sh` file:

```
DD_API_KEY=YOUR_API_KEY bash -c "$(curl -L https://install.datadoghq.com/scripts/install_mac_os.sh)"
```

{% /tab %}

{% tab title="Windows" %}
Download and run the MSI installer from the Datadog Agent integration page.
{% /tab %}

### Tabs with plain text{% #tabs-with-plain-text %}

{% tab title="Overview" %}
The Datadog Agent is lightweight software that runs on your hosts. It collects events and metrics from hosts and sends them to Datadog.
{% /tab %}

{% tab title="Requirements" %}
The Agent requires:

- A supported operating system
- A valid API key
- Network access to the Datadog intake endpoint

{% /tab %}

### Tabs with mixed content{% #tabs-with-mixed-content %}

{% tab title="Configuration" %}
Update the main configuration file:

In the `datadog.yaml` file:

```
api_key: YOUR_API_KEY
logs_enabled: true
```

{% alert level="info" %}
Restart the Agent after modifying the configuration.
{% /alert %}

{% /tab %}

{% tab title="Validation" %}
Run the status command to verify the Agent is running:

In the `status.sh` file:

```
datadog-agent status
```

Look for `API Key status: OK` in the output.
{% /tab %}

### Tabs with tables{% #tabs-with-tables %}

{% tab title="Required parameters" %}

| Parameter | Description                                                    |
| --------- | -------------------------------------------------------------- |
| `api_key` | Your Datadog API key. Required.                                |
| `site`    | The Datadog site to send data to. Defaults to `datadoghq.com`. |

{% /tab %}

{% tab title="Optional parameters" %}

| Parameter  | Description                                                         |
| ---------- | ------------------------------------------------------------------- |
| `hostname` | Override the detected hostname.                                     |
| `tags`     | A list of tags to attach to every metric, event, and service check. |

{% /tab %}

### Many tabs (pill layout){% #many-tabs--pill-layout %}

{% tab title="Amazon Linux" %}
Install the Agent on Amazon Linux using the RPM package.
{% /tab %}

{% tab title="CentOS / Red Hat" %}
Install the Agent on CentOS or Red Hat using the RPM package.
{% /tab %}

{% tab title="Debian / Ubuntu" %}
Install the Agent on Debian or Ubuntu using the DEB package.
{% /tab %}

{% tab title="Fedora" %}
Install the Agent on Fedora using the RPM package.
{% /tab %}

{% tab title="SUSE / openSUSE" %}
Install the Agent on SUSE or openSUSE using the RPM package.
{% /tab %}

{% tab title="macOS" %}
Install the Agent on macOS using the DMG package.
{% /tab %}

{% tab title="Windows" %}
Install the Agent on Windows using the MSI installer.
{% /tab %}

{% tab title="Docker" %}
Run the Agent as a Docker container.
{% /tab %}

{% tab title="Kubernetes" %}
Deploy the Agent on Kubernetes using the Helm chart.
{% /tab %}
