ToolJet/docs/versioned_docs/version-3.0.0-LTS/release-management/gitsync/tj-config.md
2025-05-03 15:16:21 +05:30

2.3 KiB

id title
tj-config Configure GitSync in ToolJet

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

Available on: Paid plans

To configure GitSync with ToolJet, we need the SSH URL from the Git Repo Manager and must authenticate the SSH key with the Repo Manager, which is generated by ToolJet.

Setting up GitSync in ToolJet

Role Required: Admin

1. Get SSH URL from Git Repo Manager

Follow the SSH Configuration guide to generate the SSH URL from the Git Repo Manager.

2. Configure the GitSync Feature on ToolJet

1. Go to the **Workspace settings**, and click on the **Configure git** tab.

<img style={{ marginBottom:'15px' }} className="screenshot-full" src="/img/gitsync/gitsync-v3.png" alt="GitLab Repo" />

2. Enter the **SSH URL** of the repository in the **Git repo URL** field.

3. Click on the **Generate SSH key** button, and copy the SSH key that is generated. The SSH key is used to authenticate ToolJet with the repository.

<img className="screenshot-full" src="/img/gitsync/ssh2-v2.png" alt="GitSync" />

There are two types of generated SSH keys:
- **ED25519**: This is a secure and efficient algorithm that is used for generating SSH keys. It is recommended to use this key type. VCS providers like GitHub and GitLab recommend using this key type
- **RSA**: This is an older algorithm that is used for generating SSH keys. It is not recommended to use this key type. Older VCS providers like Bitbucket recommend using this key type.

<img className="screenshot-full" src="/img/gitsync/ssh2.png" alt="GitSync" />

3. Deploy the SSH Key

Once the SSH key is generated, follow the SSH Configuration guide to deploy the SSH key using the Git Repo Manager.

4. Finish the GitSync Configuration on ToolJet

After deploying the SSH Key, go to the Configure git tab on ToolJet, and click on the Finalize setup button. If the SSH key is configured correctly, you will see a success message.

GitSync