# Use a proxy server

The Akamas CLI supports interacting with the API server through an HTTP/HTTPS proxy server.

To enable access via an HTTP proxy, set the environment variable `HTTP_PROXY`. From the following snippet, replace `proxy_ip` and `proxy_port` with the desired values.

```bash
export HTTP_PROXY="http://<proxy_ip>:<proxy_port>"
```

Then, run the `akamas` command to verify access.

```bash
akamas status debug
```

Access through an HTTPS proxy can be set by using the environment variable `HTTPS_PROXY` instead of `HTTP_PROXY`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akamas.io/akamas-docs/3.4.0/installing/install-the-akamas-cli/use-a-proxy-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
