# Register GitHub Account

Registering a GitHub account with gopaddle allows you to unlock the full potential of runbook hubs for efficient, context-aware troubleshooting. Discover existing hubs or easily create new ones for streamlined documentation and faster issue resolution. Follow the steps to create a repository in GitHub account and register the GitHub account

### Step 1 - Create a new private repository

Create a new private repository (**say demo-hub**) in a GitHub account that would act as a Runbook Hub.

### Step 2 - Create a GitHub Access Token

Create an access token in the GitHub account with permission to read the repository.

1. Select the user profile in GitHub account and click on **Settings**
2. In the **Settings** page, select **Developer Settings** in the left panel.
3. Choose **Personal access tokens** and **Tokens (classic)**

<div align="left"><figure><img src="/files/Dr5q8OLInAuR8VykTi0p" alt="" width="311"><figcaption></figcaption></figure></div>

4. Select **Generate new token** and **Generate new token (classic)**
5. Add a note “gopaddle runbook access” to the token for future reference
6. Under **Select scopes**, choose **repo**.

<figure><img src="/files/ysC7kkWnpxs5PmO2mdo6" alt=""><figcaption></figcaption></figure>

7. Copy the token

### Step 3 - Register Source Control Account

1. In the gopaddle UI, in the left panel under **Settings**, choose **Code** and then **Accounts**
2. Choose **Register Source Control Account**
3. Select **Token** and provide the GitHub token

<div align="left"><figure><img src="/files/te0zcZzquj9pWuV9Iowx" alt="" width="375"><figcaption><p>Register GitHub Account in gopaddle</p></figcaption></figure></div>

4. Click **Register**: This will register and discover any pre-existing runbook hubs (ie., repositories with **.gp.yaml**). If there are no pre-existing hubs, a new hub can be created at a later stage.


---

# 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://help.gopaddle.io/overview/register-github-account.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.
