---
title: Set up the APM Ruby agent
description: To get you off the ground, we’ve prepared guides for setting up the Agent with different frameworks: Rails, Rack. For custom instrumentation, see the...
url: https://www.elastic.co/elastic/docs-builder/docs/2659/reference/apm/agents/ruby/set-up-apm-ruby-agent
products:
  - APM Agent
  - APM Ruby Agent
applies_to:
  - Serverless Observability projects: Generally available
  - Elastic Stack: Generally available
  - Application Performance Monitoring Agent for Ruby: Generally available
---

# Set up the APM Ruby agent
To get you off the ground, we’ve prepared guides for setting up the Agent with different frameworks:
- [Rails](https://www.elastic.co/elastic/docs-builder/docs/2659/reference/apm/agents/ruby/getting-started-rails)
- [Rack](https://www.elastic.co/elastic/docs-builder/docs/2659/reference/apm/agents/ruby/getting-started-rack)

For custom instrumentation, see the [*API reference*](https://www.elastic.co/elastic/docs-builder/docs/2659/reference/apm/agents/ruby/api-reference).