---
title: Enabling AAP for Ruby
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > App and API Protection > Enabling App and API
  Protection > Enabling AAP for Ruby
---

# Enabling AAP for Ruby

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ().
{% /alert %}

{% /callout %}

## Overview{% #overview %}

App and API Protection works by leveraging the [Datadog Ruby library](https://github.com/DataDog/dd-trace-rb/) to monitor and secure your Ruby service. The library integrates seamlessly with your existing application without requiring code changes.

For detailed compatibility information, including supported Ruby versions, frameworks, and deployment environments, see [Ruby Compatibility Requirements](https://docs.datadoghq.com/security/application_security/setup/ruby/compatibility.md).

## Environments{% #environments %}

### Hosts{% #hosts %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Linux
- macOS

### Container Platforms{% #container-platforms %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Docker
- Kubernetes

### AWS{% #aws %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- AWS Lambda
- AWS Fargate

### Google Cloud Platform{% #google-cloud-platform %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Google Cloud Run

### Microsoft Azure{% #microsoft-azure %}
.appsec-integrations .card img{width:80px;height:80px}.appsec-integrations .card:hover{scale:1.03;transition:scale .3s ease-in-out}.appsec-integrations .card{scale:1;transition:scale .3s ease-in-out}
- Azure App Service

## Additional Resources{% #additional-resources %}

- [Compatibility Information](https://docs.datadoghq.com/security/application_security/setup/ruby/compatibility.md)
- [Troubleshooting Guide](https://docs.datadoghq.com/security/application_security/setup/ruby/troubleshooting.md)
