# Github

### Using the Erathos platform

When selecting GitHub as a new connector on the Erathos platform, you will need to name your connection and fill in the following form:

* **Token** — your GitHub Personal Access Token used to authenticate API requests
* **Org** — the GitHub organization name whose repositories and members you want to sync

With this connection created you can seamlessly move your GitHub data to your BigQuery, Redshift or Postgres data warehouse.

### How to find my token?

You can generate a Personal Access Token by navigating to **Settings > Developer settings > Personal access tokens > Tokens (classic)** inside your GitHub account. Click **Generate new token**, give it a descriptive name, set the desired expiration, and select the scopes your integration requires — at minimum `repo` (to read repository data) and `read:org` (to read organization members).

Once generated, copy the token value immediately — GitHub will not show it again. Paste the value into the Erathos platform **Token** field. For the **Org** field, enter your organization's name exactly as it appears in your GitHub organization URL (e.g. `my-company` from `github.com/my-company`). Don't forget to click on **Save and close** to advance to the next steps of the integration.

### What endpoints can I access with the Erathos platform?

* repositories
* members
* issues
* pull\_requests
* commits


---

# 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.erathos.com/connectors/apis/github.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.
