﻿---
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://docs-v3-preview.elastic.dev/elastic/apm-agent-ruby/tree/main/reference/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://docs-v3-preview.elastic.dev/elastic/apm-agent-ruby/tree/main/reference/getting-started-rails)
- [Rack](https://docs-v3-preview.elastic.dev/elastic/apm-agent-ruby/tree/main/reference/getting-started-rack)

For custom instrumentation, see the [*API reference*](https://docs-v3-preview.elastic.dev/elastic/apm-agent-ruby/tree/main/reference/api-reference).