> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# GitHub

Supports:
* ✅ Bulk sync source
* ✅ Connection Proxy




## Connection

### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>auto_add_repositories</code></td>
<td><code>boolean</code></td>
<td style="vertical-align: top;">Automatically add new repositories</td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>client_id</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;"></td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>client_secret</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;"></td>
<td><code>false</code></td>
</tr>
<tr>
<td><code>oauth_access_token</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;"></td>
<td><code>true</code></td>
</tr>
</tbody>
</table>

<h4 id="authenticated">`authenticated`</h4>

<h5 id="authenticated-true">When `authenticated` is `true`</h5>

<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>repositories</code></td>
<td><code>array</code></td>
<td style="vertical-align: top;">Repositories</td>
<td><code>true</code></td>
</tr>
</tbody>
</table>



#### Example

```json
{
  "name": "GitHub connection",
  "type": "github",
  "configuration": {
    "auto_add_repositories": false,
    "client_id": "a45gadsfdsaf47byor2ugfbhsgllpf12gf56gfds",
    "client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq",
    "oauth_access_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq"
  }
}
```



## Bulk Sync
### Source
GitHub connections may be used as a bulk sync source. No additional configuration options are required.