# Start with one repository

Source: https://docs.tai.ga/start/guided-onboarding/

Guided onboarding is the paid signup for one repository.
You answer a few questions about your organization, connect the repository, pay, and Taiga analyzes it.
Your organization pays for that repository; [Plans, Auroras and building](https://docs.tai.ga/start/plans-and-auroras/) explains what that covers.

Taiga only reads the repository during guided onboarding.
Nothing it is given there can push, open pull requests or comment.

## Choose where your code lives

On the repository screen, choose one of:

- **GitHub**, for repositories on github.com;
- **GitHub Enterprise**, for Enterprise Cloud (`*.ghe.com`) or your own GitHub Enterprise Server;
- **GitLab**, for GitLab.com or your own GitLab;
- **Azure DevOps**, for Azure DevOps Services.

The screen then shows only that provider's steps, and a **Setup guide** link to its section below.

## Invite an admin

Connecting a provider can take someone else: an owner of the GitHub organization, an owner of the GitLab group, or an Azure DevOps administrator.
Under the provider's steps, open **Invite an admin**, enter their email and choose **Invite**.
Their email names the provider to connect, the access it takes and this guide's section for it.
They join your Taiga organization as an admin, land on the repository screen with that provider chosen, and connect it.
Then you choose the repository.

Where the email cannot be delivered, the screen shows the invitation link to copy and share.

## GitHub

1. Choose **Connect GitHub**.
2. On GitHub, install Taiga's App. It asks to read code and nothing else.
   Choose **Only select repositories** to give it access to this one repository alone.
3. Back in Taiga, pick the repository and choose **Continue**.

You can remove the App's access at any time in your GitHub settings.

## GitHub Enterprise

On GitHub Enterprise, the App is registered on your own instance, under an organization of yours.
Registering it takes an **owner of that organization**.

1. Choose **Enterprise Cloud** and enter your subdomain, such as `acme` for `acme.ghe.com`, or choose **Enterprise Server** and enter its URL, such as `https://github.acme.com`.
2. Enter the organization the repository is in and choose **Register App**. GitHub opens its App registration page; create the App there.
3. Back in Taiga, connect an account on your instance, install the App on the repository, and pick it.

If you are not an owner of that organization, [invite one](#invite-an-admin).

An Enterprise Server must be reachable from Taiga and present a certificate from a public certificate authority.
[Connect GitHub Enterprise](https://docs.tai.ga/administration/connect-github-enterprise/#requirements) lists the full requirements.

## GitLab

Taiga connects to GitLab with a token that only reads.

1. In GitLab, create a group or project access token with:
   - the **Reporter** role on the projects Taiga should read;
   - the **`read_repository`** and **`read_api`** scopes.
2. In Taiga, enter your GitLab URL, such as `https://gitlab.com`, paste the token and choose **Connect GitLab**.
   A self-managed GitLab with a certificate from your own certificate authority also takes that CA under **Private CA certificate**.
3. Pick the project and choose **Continue**.

Taiga refuses a person's personal access token, so that nothing is attributed to a person.
On GitLab.com, group and project access tokens need the Premium or Ultimate tier.

## Azure DevOps

Taiga connects to Azure DevOps with a token that only reads.

1. In Azure DevOps, create a personal access token scoped to your organization, with the **Code (Read)** scope.
2. In Taiga, enter your organization's name, such as `acme` for `https://dev.azure.com/acme`, paste the token and choose **Connect Azure DevOps**.
3. Pick the repository and choose **Continue**.

## After the repository

The next screens ask for your stack and cloud providers, prefilled from the repository, and the regulations that apply to you.
Then you pay, and Taiga analyzes the repository.
When the analysis is ready, your organization opens with the repository's product and its documents.

To build in the repository later, Taiga needs write access to it.
[Plans, Auroras and building](https://docs.tai.ga/start/plans-and-auroras/#building-needs-write-access) describes how to give it.