---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: Extend
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: Proxy Server Settings for Workday Developer CLI (WDCLI) for Extend Apps Commands
layout: subsection
---

<a id="section_vhz_5sr_c3b"></a>
If you need to use a proxy server for routing outbound network calls, you can set the proxy server using the `http_proxy` or `https_proxy` environment variables. The WDCLI library for outbound network calls respects these environment variables.

## <a id="section_whz_5sr_c3b"></a>Prerequisites

-   Connection information for the proxy server such as the URL, port number, and credentials (if required by the proxy server).
-   Update access to environment variables.


## <a id="section_ir3_qsr_c3b"></a>Proxy Server Environment Variables

<table><thead><tr><th>Environment Variable</th><th>Description</th></tr></thead><tbody><tr><td>http_server or HTTP_SERVER</td><td>The URL of the HTTP or HTTPS proxy server. Both HTTP and HTTPS calls use this setting. Example: <p><code>http_proxy=http://proxy.example.com</code></p> If the proxy server requires credentials, include the username and password: <p><code>http_proxy=http://username:password@proxy.example.com</code></p> If the proxy server uses a port other than 80, append the port number: <p><code>http_proxy=http://username:password@proxy.example.com:8080</code></p></td></tr><tr><td>https_server or HTTPS_SERVER</td><td>The URL of the HTTPS proxy server. Only HTTPS calls use this setting. Example: <p><code>https_proxy=https://proxy.example.com</code></p> If the proxy server requires credentials, include the username and password: <p><code>https_proxy=https://username:password@proxy.example.com</code></p> If the proxy server uses a port other than 80, append the port number: <p><code>https_proxy=https://username:password@proxy.example.com:8080</code></p></td></tr><tr><td>no_proxy or NO_PROXY</td><td>Deletes proxy settings and excludes hosts from being used as proxies.</td></tr></tbody></table><br/>

## <a id="section_f1m_bvr_c3b"></a>Setting the Proxy Server on Windows

1.  On the <b>Start</b> menu, search for <b>environment variables</b>.
2.  On the <b>Environment Variables</b> window, under <b>System variable</b>, add the appropriate environment variables to set the proxy servers globally.

    Depending on your Windows version, you might need to restart Windows.

3.  Start a new Windows command prompt to run a WDCLI command.


If you don't want to set the proxy server globally, you can set the environment variables on the command prompt before you run a WDCLI command. Example:

```
$ set http_server=http://proxy.example.com
$ wdcli wql:dataSources:list
```

## <a id="section_zjp_3zr_c3b"></a>Setting the Proxy Server on macOS and Linux

1.  In your home directory, create or open the `.bash_profile` file.
2.  On a new line, add an `export` command for the appropriate environment variable. Example:

    ```
    export HTTP_PROXY=http://proxy.example.com
    ```

3.  Save your changes.
4.  Start a new terminal session, and run a WDCLI command.


If you don't want to set the proxy server globally, you can set the environment variables on your terminal session before you run a WDCLI command. Example:

```
$ export HTTP_PROXY=http://proxy.example.com
$ wcpcli wql:dataSources:list
```

