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

# Proxy requests

> How to use the requests proxy from Nango

Use the requests proxy to make authenticated API requests to the external API.

## How to use the proxy

Make sure you have an [integration configured](/guides/auth/auth-guide#guide) in your environment, and at least one [connection](/guides/auth/auth-guide#overview) available for it.

You can use the proxy with the [Node SDK](/reference/backend/backend-sdk/node#proxy) or [REST API](/reference/backend/http-api/proxy/get):

<Tabs>
  <Tab title="Node">
    ```typescript theme={null}
    try {
        const res = await nango.proxy({
            method: 'POST',
            baseUrlOverride: 'https://api.example.com',
            endpoint: '/external-endpoint',
            providerConfigKey: '<string>',
            connectionId: '<string>',
            retries: 5, // Retries with exponential backoff (optional, default 0)
            data: {
                id: 1,
                colorId: 'blue',
                selected: true
            }
        });

        // Response was 200!
        // See https://axios-http.com/docs/res_schema
        console.log(res.data);
    } catch (error) {
        // Status of response != 200
        // See https://axios-http.com/docs/handling_errors
        console.log(error.response.data);
        console.log(error.response.status);
        console.log(error.response.headers);
    }
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer <NANGO-API-KEY>' \
    -H 'Provider-Config-Key: <INTEGRATION-ID>' \
    -H 'Connection-Id: <CONNECTION-ID>' \
    -d '{"colorId: "blue"}' \
    'https://api.nango.dev/proxy/<API-ENDPOINT>'
    ```
  </Tab>
</Tabs>

## Related guides

* [Auth guide](/guides/auth/auth-guide) - create the connection used by proxy requests.
* [Node SDK reference](/reference/backend/backend-sdk/node#proxy) - proxy helper methods.
* [Proxy API reference](/reference/backend/http-api/proxy/get) - REST endpoints for proxied requests.
* [Rate limits](/guides/functions/rate-limits) - handle provider throttling.
