﻿---
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/2439/reference/apm/agents/ruby/set-up-apm-ruby-agent

This applies to:
- Generally available for Serverless Observability
- Generally available in 9.0+ for Stack
- Generally available in 4.0+ for APM Agent Ruby
---

# 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/2439/reference/apm/agents/ruby/getting-started-rails)
- [Rack](https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/ruby/getting-started-rack)

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