> ## Documentation Index
> Fetch the complete documentation index at: https://interceptor-docs.requestly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Node.js

> Learn How to Set Up Requestly Interceptor Proxy in Your Node.js Application

## **Steps**

**1. Open Connected Apps**

Go to the **Requestly Interceptor desktop** **app** and click on the **Connect apps** button. A popup modal will appear.

![](https://mintcdn.com/interceptor/8EZFE0FR6CIM9m_C/images/nodejs/f2142bd3-5513-4e1b-b02b-46ab002c621c.png?fit=max\&auto=format\&n=8EZFE0FR6CIM9m_C\&q=85\&s=d717a5a364b763979433aa6b6e01e0fd)

**2. Locate Terminal Processes**

In the popup modal, navigate to the **Terminal processes** section. Click on **Setup instruction** for Terminal.

![](https://mintcdn.com/interceptor/8EZFE0FR6CIM9m_C/images/nodejs/18a2d99e-dae8-40d2-9187-599d340df38f.png?fit=max\&auto=format\&n=8EZFE0FR6CIM9m_C\&q=85\&s=b059be5284fa55bad747dfaf41c5d5f0)

**3. Copy the Setup Command**

You will see a command displayed in the setup instructions. Copy the command. It will look something like this:

```plaintext theme={null}
<(curl -sS localhost:7040/tpsetup)
```

> ***Note: This command might be different depending upon port availability. Checkout in Connected Apps > Terminal***

![](https://mintcdn.com/interceptor/8EZFE0FR6CIM9m_C/images/nodejs/8b924a6c-8033-40ec-beac-d0c8d8e8fd82.png?fit=max\&auto=format\&n=8EZFE0FR6CIM9m_C\&q=85\&s=2d204effbb3c80346378920ce4b33b37)

**4. Run the Command in Terminal**

Open the terminal where you will start your **Node.js server** and paste the copied command. Press **Enter** to execute it.

If the command runs successfully, you should see a confirmation message in your terminal indicating that **interception is enabled**.

![](https://mintcdn.com/interceptor/8EZFE0FR6CIM9m_C/images/nodejs/121ab875-5215-4131-8b18-a9ef3a4bf482.png?fit=max\&auto=format\&n=8EZFE0FR6CIM9m_C\&q=85\&s=7447c55cf18a4a86b73b6a7ba3b628a0)

> ***https requests in axios might not show up properly in Network Traffic tab due to the way axios handles HTTPS requests. But the actual request will work properly in your code as expected.***
>
> ***Checkout*** [***Github Issue***](https://github.com/requestly/requestly/issues/301) ***for more explanation and quick hack on how to apply rules on these requests***

## **Testing Proxy**

1. Go to `Network Traffic` tab in Requestly Interceptor Desktop App.

2) Now Make a curl request to [**https://amiusing.requestly.io/**](https://amiusing.requestly.io/) using your terminal and look for that request in the **Network Traffic** tab.

![](https://mintcdn.com/interceptor/8EZFE0FR6CIM9m_C/images/nodejs/0e02fa11-b4e6-41b9-b947-cc06b3499eac.png?fit=max\&auto=format\&n=8EZFE0FR6CIM9m_C\&q=85\&s=f048580ec45f76689b8c3c834b7309a6)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.