﻿---
title: Configuration
description: Use the following pages to configure the APM Agent. Configuring the agent, Configuration options. 
url: https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/nodejs/advanced-setup

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

# Configuration
Use the following pages to configure the APM Agent.
- [Configuring the agent](https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/nodejs/configuring-agent)
  - [Agent configuration object](/elastic/docs-builder/docs/2439/reference/apm/agents/nodejs/configuring-agent#agent-configuration-object)
- [Agent configuration file](/elastic/docs-builder/docs/2439/reference/apm/agents/nodejs/configuring-agent#agent-configuration-file)
- [Configuration options](https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/nodejs/configuration)