# GitHub

### Setting Up <a href="#setting-up" id="setting-up"></a>

Github uses OAuth 2.0 for authentication. You must have the appropriate permissions within your Github account to grant access to our App to begin.  From there, you'll only need to click install from within the Turngate app and proceed through the Authorization prompts to authorize Turngate to access your audit logs.

### Other Resources

Event Types — [Audit Log Events for your Enterprise](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise)


---

# 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://support.turngate.io/setup/integrations/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.
