# Adding GitHub repositories to PullRequest

{% hint style="info" %}
**NOTICE:** As of **2/13/2018** PullRequest requires an installation of the PullRequest GitHub app in lieu of assigning a pull request to the **@PullRequestAgent** GitHub profile.
{% endhint %}

*This guide contains screenshots from third party partner interfaces that may be modified without notice. If you ever have any issues or questions about connecting with PullRequest, please reach out to* ***<support@pullrequest.com>**.*&#x20;

## Step 1: <a href="#step-1" id="step-1"></a>

After signing up, you'll be prompted to authorize and connect with a version control provider. Click the **GitHub** option.

![](https://2358009497-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoX0EprXzKPQAYlffH%2F-M9ePghiFoNa2WbC4d8O%2F-M9eQ26EnLr2hZjm4qDe%2Fimage.png?alt=media\&token=36ae8876-8530-4f2b-9b99-e8688d6e15ed)

{% hint style="info" %}
**NOTE**: If you have repositories that you need to connect from other version control providers such as Bitbucket and GitLab, you'll be able to add them in Settings -> [**Account Integrations**](https://app.pullrequest.com/dash/user/settings/integrations).
{% endhint %}

## Step 2: <a href="#step-2" id="step-2"></a>

You'll be prompted to select from a list containing your GitHub Profile and any GitHub Organizations you're an owner of. You'll be able to connect multiple GitHub Organizations if required.

If a GitHub Profile or Organization already has the PullRequest GitHub app installed, the text "Configure" will appear on the selection.

**Q: I don't see the Organization I'm trying to add. How do I add it?**&#x20;

A: Reach out to an Owner of that GitHub Organization with [**this link**](https://github.com/apps/pullrequest/installations/new) and ask them to install PullRequest. *(NOTE: You maintain full control of revoking PullRequest access at any time)*

![](https://2358009497-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoX0EprXzKPQAYlffH%2F-M9ePghiFoNa2WbC4d8O%2F-M9eRKphpVKIiMdv13iG%2Fimage.png?alt=media\&token=4de95a5d-87e5-418b-8388-0b8971609422)

{% hint style="info" %}
**Q: I don't see the Organization I'm trying to add. How do I add it?**&#x20;

A: Reach out to an Owner of that GitHub Organization with [**this link**](https://github.com/apps/pullrequest/installations/new) and ask them to install PullRequest.
{% endhint %}

## Step 3: <a href="#step-3" id="step-3"></a>

You'll be prompted to select from a list containing your GitHub Profile and any GitHub Organizations you're an owner of. You'll be able to connect multiple GitHub Organizations if required.

If a GitHub Profile or Organization already has PullRequest installed, the text "Configure" will appear on the selection.

**Q: I don't see the Organization I'm trying to add. How do I add it?** A: Reach out to an Owner of that GitHub Organization with [**this link**](https://github.com/apps/pullrequest/installations/new) and ask them to install PullRequest. *(NOTE: You maintain full control of revoking PullRequest access at any time)*

<div align="left"><img src="https://2358009497-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoX0EprXzKPQAYlffH%2F-LQoX3WSDoxTX4O2McKo%2F-LQoXoh5LFYLgJoTnyGy%2Fexample9_3.png?alt=media&#x26;token=4e32104c-c14b-41a4-acdf-49e5a75610f6" alt=""></div>

## Step 4: <a href="#step-4" id="step-4"></a>

You'll be asked to allow PullRequest to access **All Repositories** or **Only select repositories**.

After you've made your selection, click the **Install** button.

<div align="left"><img src="https://2358009497-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoX0EprXzKPQAYlffH%2F-LQoX3WSDoxTX4O2McKo%2F-LQoXwDkeuaOWljNv8N_%2Fexample9_4.png?alt=media&#x26;token=96bde63a-94c5-4ad8-8230-cb2e1200fa26" alt=""></div>

## Step 5: <a href="#step-5" id="step-5"></a>

Repositories should now appear on the PullRequest [**dashboard**](https://app.pullrequest.com/dash/) page when the GitHub Organization is selected from the drop-down at the top of the screen.

![](https://2358009497-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQoX0EprXzKPQAYlffH%2F-M9ePghiFoNa2WbC4d8O%2F-M9eSKfhp-aLg0r11rN-%2Fimage.png?alt=media\&token=273604cf-5670-409f-b666-c0b08b946320)


---

# 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/adding-github-repositories-to-pullrequest/master.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.
