For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
        • Overview
        • Try a local demo
        • AWS ECS
        • AWS EC2
        • AWS Elastic Beanstalk
      • Debug with Insights
      • Customize Insights
      • Uninstall Insights Agent
      • FAQ
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Requirements
  • Install Insights Agent on EC2
  • Wait for the Insights Agent to collect traffic
  • Activate Repro Mode
Postman InsightsGet started with Insights

Install Postman Insights Agent on EC2

||View as Markdown|
Was this page helpful?
Previous

Install Postman Insights Agent on AWS ECS

Next

Install Postman Insights Agent on AWS Elastic Beanstalk

Built with

The Postman Insights Agent listens to the traffic arriving at the service you want to monitor and automatically populates your Insights project with endpoints.

To use the Insights Agent with a standalone Linux instance of Amazon EC2, complete the following steps.

Estimated time: 10-minute setup, 5-minute wait

After onboarding a service, you’ll see your endpoints and their insights. Then, you can leverage the Insights’ Repro Mode to debug your failing endpoints. You can also set up alerts to get notifications about your errors.

Requirements

  • SSH access to your virtual EC2 machine.
  • Your server’s OS supports systemd.
  • Root user privileges in order to edit systemd files.
  • Insights project. See Get started with Postman Insights to learn more.

Install Insights Agent on EC2

To install the Insights Agent, do the following:

  1. From the Setup tab of your workspace, select Start with EC2.

    Select your environment
  2. Log in to the EC2 instance. For more information, see Connect to your EC2 Instance.

  3. As shown on the Insights onboarding screen, run the install script on that instance.

    $bash -c "$(curl -L https://releases.observability.postman.com/scripts/install-postman-insights-agent.sh)"
  4. On the Insights onboarding screen, click Add API key to copy and paste it with the next command.

    In the example command below, the angle brackets and the text between them are placeholders. The command you copy in the onboarding screen will contain your correct API key and project ID.

    $sudo POSTMAN_API_KEY=<your-api-key> postman-insights-agent ec2 setup --project <projectId> --repro-mode

    The --repro-mode flag allows the agent to send encrypted payload data for rerunning requests.

    In the resulting output, the server checks for user permissions and the presence of systemd, configures systemd files, and enables Postman Insights Agent as a systemd service.

  5. Check the status or logs. Run the journalctl command:

    $sudo journalctl -fu postman-insights-agent
  6. In Postman, check out the Insight Project’s Endpoints tab to see the list of endpoints the Insights Agent generates as it gathers data.

Run the help command for other configuration parameters.

$postman-insights-agent ec2 --help

Tip: If you’re not seeing your endpoints right away, traffic may be taking some time to collect. See the next section for more information.

Wait for the Insights Agent to collect traffic

After Insights detects traffic from the Insights Agent, you’ll get automatically redirected to the Overview page. The Insights Agent needs 5-8 minutes to use AI to generate endpoints.

If you’re only seeing health checks, your traffic may be affected. If you’re not seeing what you expect after 10 minutes, see Diagnose and troubleshoot Insights Agent errors.

Activate Repro Mode

Only a Workspace Admin can enable the Repro Mode.

To make API calls using real user data, you need to activate Repro Mode. Go to your Insights project and click Settings. Then, toggle on Activate Repro Mode.

Default data redactions. Postman Insights automatically redacts a set of sensitive values including authentication tokens. See the full list. You can also add fields to redact ahead of turning on the feature.

Learn more about debugging with Repro Mode.