# Configuring your Proxy to Connect to the PullRequest Server

### Retrieving and Adding Authentication

Navigate to [https://app.pullrequest.com](https://app.pullrequest.com/) and log in as an account that has Owner permissions for the organization created above.

After you're logged in, navigate to **Settings** > **On-premise Proxy** for your on-prem organization.

{% hint style="info" %}
If you do not see the appropriate organization, you must select it from the drop-down selector in the top-left of the dashboard. This will be expected if your service coverage spans multiple source code provider instances.
{% endhint %}

You should now be on the proxy configuration settings. Click the **Generate Token** button.

![On-premises organization settings](/files/-MUV0HZHMixAGeta1U0X)

A modal will appear with instructions and token/secret values.

![Proxy token modal](/files/-MUV0hAWhBKhWDmzZ1be)

In the previous step ("Installing the PullRequest Proxy"), we opened up a configuration file for editing. Go ahead and add the following two lines to that file but replace the `PULLREQUEST_TOKEN` and `PULLREQUEST_SECRET` fields with the values you see in your web browser.

```
PULLREQUEST_TOKEN=<installation_token>
PULLREQUEST_SECRET=<installation_secret>
```


---

# 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.pullrequest.com/on-premise-server/connecting-your-proxy-with-pullrequest.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.
