> For the complete documentation index, see [llms.txt](https://docs.cyberscope.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cyberscope.io/cyberscan-ai/github-and-gitlab-integration.md).

# Github & Gitlab Integration

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

When you click on **Connect Projects**, select the **Connect** button. A popup will appear, allowing you to add links to your public repositories. For **private** repositories, only GitHub integration is supported.<br>

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

\
When you provide a **GitHub & GitLab** repository link, the system automatically verifies whether the repository is public or private.

<figure><img src="/files/9Ut8l7Jgo8hzVlIFPSxB" alt=""><figcaption></figcaption></figure>

In the next step, you can select either a contract file or a ZIP file. If a ZIP file is uploaded, the system checks whether it contains a .sol file. If no .sol file is found, only the relevant .sol files should be uploaded, and other file types will be ignored.

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

For Github private repositories, the system automatically detects their status and displays a Connect button. When the user clicks this button, they are redirected to the GitHub page for authentication.

On the GitHub page, you can choose which repositories to grant access to the authorized application. All required permissions are displayed in the popup, allowing you to review and select the repositories you want to connect

You can view the connected private GitHub repositories in the popup displayed below the CyberScan AI page, under the “Connect Your Projects” section.
