Git Client

Introduction

For package installation with git, we currently support 3 git providers:

Here's how to get the right access key for what you need within the platform. There are 3 different features where you need to have set git credentials:

  • Installing a private repository (admin)
  • Creating a package from scratch (admin)
  • Editing a repository through low-code

GitHub

To get the necessary access key for GitHub, follow these steps:

  1. Go to your GitHub account settings.

  2. Navigate to Developer Settings > Personal Access Tokens (opens in a new tab)

  3. Click on "Generate new token".

  4. Give it a name (e.g., DessiaToken).

  5. Select the necessary permissions: a. Select the right option for repository depending on which one you want to manage from the platform

    GitHub-Repo-Access.png

    b. In repository permissions, select administration: read/write , contents: read/write, metadata: read

    GitHub-Administration.png

    GitHub-Contents.png

    GitHub-Metadata.png

  6. Click on "Generate token".

  7. Copy the generated token and paste it into your Git-Credential settings.

GitLab

To get the necessary access key for GitLab, follow these steps:

  1. Go to your GitLab account settings.

  2. Navigate to Profil > Access Tokens (opens in a new tab).

  3. Click on "Add a new token".

  4. Give it a name (e.g., DessiaToken).

  5. Select the necessary permissions: api and write_repository.

    GitLab-Permitions.png

  6. Click on "Add token".

  7. Copy the generated token and paste it into your Git-Credential settings.

Gitea

To get the necessary access key for Gitea, follow these steps:

  1. Go to your Gitea account settings

  2. Navigate to Applications.

    Gitea-Applications.png

  3. Give it a name (e.g., DessiaToken).

  4. Select the necessary permissions: package, repository, user in write and read

    Gitea-Permissions.png

  5. Click on "Generate new token".

  6. Copy the generated token and paste it into your Git-Credential settings.