> For the complete documentation index, see [llms.txt](https://docs.pullrequest.com/on-premise-server/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pullrequest.com/on-premise-server/connecting-your-proxy-with-pullrequest.md).

# Configuring your Proxy to Connect to the PullRequest Server

The following are steps outlining the process for configuring your PullRequest Proxy so that it can communicate with 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](https://624363444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNMKNsDv2KL9GI5L5YY%2F-MUUu41IW8L7AFJs0WFz%2F-MUV0HZHMixAGeta1U0X%2Fimage.png?alt=media\&token=f7898dc2-67ca-47a3-adea-afe8c75c95d8)

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

![Proxy token modal](https://624363444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNMKNsDv2KL9GI5L5YY%2F-MUUu41IW8L7AFJs0WFz%2F-MUV0hAWhBKhWDmzZ1be%2Fimage.png?alt=media\&token=1c361d10-316f-48b5-a4f7-b270ee61ac9f)

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>
```
