> For the complete documentation index, see [llms.txt](https://docs.nisa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nisa.ai/connecting-data-sources/github.md).

# Github

GitHub is a popular platform for version control and collaboration, providing efficient workflows for software development projects. Our Business Chatbot seamlessly integrates with GitHub, allowing for automatic gathering, synchronization, and indexing of the following elements:

<table data-header-hidden><thead><tr><th width="358"></th><th></th></tr></thead><tbody><tr><td>Pull Requests</td><td>Our integration covers Pull Request ID, Title, Description, Status, Comments, and pertinent timestamps.</td></tr><tr><td>Releases</td><td>We capture Release ID, Tag Name, Release Notes, and timestamps.</td></tr><tr><td>README.md</td><td>Our integration indexes the content of the README.md file.</td></tr><tr><td>Changelog.md</td><td>We capture the content of the Changelog.md file, providing information on version history, changes, and updates.</td></tr></tbody></table>

By connecting your GitHub account with our Business Chatbot, you enhance ChatGPT's understanding of your pull requests, releases, README.md, and Changelog.md, enabling more contextual responses.

## Setting Up the GitHub Integration

Before you can connect GitHub to our Business Chatbot dashboard, you'll need to create a GitHub Access Token. Follow these steps:

**Step 1.** Log into your GitHub account.

**Step 2.** Access GitHub Developer Settings

* Click on your profile picture in the top-right corner of the GitHub interface.
* In the dropdown menu, select "Settings".
* On the left sidebar, scroll down and click on "Developer settings".

**Step 3.** Generate a new access token

* In the Developer Settings page, locate the "Personal access tokens" section.
* Click on "Tokens (classic)" to access the token creation page.

**Step 4.** Create a new token

* On the Personal access tokens page, click on the "Generate new token (classic)" button.
* Provide a descriptive note for the token to help you identify its purpose.

**Step 5.** Scroll down to the "Select scopes" section and grant the token a `repo` access.

**Step 6.** Once you have selected the desired scopes, click on the "Generate token" button at the bottom of the page.

**Step 7.** Note down the generated `Access Token` displayed on the Personal Access Tokens page.

**Step 8.** Now, in the Business Chatbot dashboard, go to the Sources section, add new Organizational Source, and find Github. Enter the `Repository URL` that you want to integrate and `Access Token` obtained previously.

**Step 9.** Click "Configure" button to start the synchronization. &#x20;

Congratulations! You have successfully added a connection to synchronize your GitHub pull requests, releases, README.md, and Changelog.md using the GitHub Integration App. The Business Chatbot will now be able to capture and process data from these elements, providing enhanced insights and contextual responses.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.nisa.ai/connecting-data-sources/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.
