# Creating a GitHub App for Git operations

Create a GitHub App and limit its Git access to the repositories that need it.

## Before you begin

You need permission to create and install GitHub Apps for your organization or account.

## About this task

Create a GitHub App to provide Git credentials to Talend Studio users. A GitHub App can be installed for all repositories or only selected repositories.

For GitHub's instructions, see [Registering a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app) and [Installing your own GitHub App](https://docs.github.com/en/apps/using-github-apps/installing-your-own-github-app).

## Procedure

1. On GitHub, open Settings &gt; Developer settings &gt; GitHub Apps. Click New GitHub App. For an organization app, open its settings first.
2. Enter a name and homepage URL.
3. In Callback URL, enter http://127.0.0.1/callback.
4. If users will sign in with Device Flow, select Enable Device Flow.
5. Under Webhook, clear Active.
6. Under Repository permissions, set Contents to Read and write. Leave the other permissions unchanged.
7. Click Create GitHub App.
8. Click Install App. Choose the organization, then select All repositories or only those that need Git access.
9. Copy the Client ID, not the App ID, and share it with the Talend Studio users who need to sign in.
10. If you did not enable Device Flow, click Generate a new client secret. Share the secret through your organization's approved secure channel.

## What to do next

For sign-in instructions, see [Signing in to GitHub from Studio](https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2026-11/signing-in-to-github-from-studio "Use a customer-owned GitHub App or OAuth App to authenticate Git operations from Studio.").