Docs / GitHub / AI Builder / Connecting GitHub

Connecting GitHub

Connect your GitHub account so transjt can import the code your AI builder created.

Before you start

  • A GitHub account with access to the repository you want to import.
  • Your code in a GitHub repository. Most AI builders, such as Lovable, v0, bolt.new or Claude Code, can push to GitHub directly.

Option 1: connect in Settings

  1. In transjt, open Settings > Integrations.
  2. Click + next to Add Repository.
  3. In the Connect GitHub dialog, keep GitHub selected and click Proceed.
  4. A GitHub window opens. Log in if needed and authorize transjt.
  5. Back in transjt, the account appears in the list with the connection status O.K.
Connect GitHub, choose the repository and branch, and preview the result.

Option 2: connect while creating a project

  1. Create a project in Projects with +, name it and click Create.
  2. In the Source step, choose GitHub. Click Continue with GitHub. The Import step opens.
  3. Pick a connected GitHub account from the list, or click Connect GitHub to add one and follow the steps in the popup.
  4. Pick the repository and the branch:
    • the repository is shown as owner/repository,
    • the default branch is marked "(default)", usually main.
  5. Click Proceed.
Nothing happens? The connection opens in a popup. If your browser blocks popups, allow them for app.transjt.ai and try again.
Connect GitHub, choose the repository and branch, and preview the result.

Private and organization repositories

transjt can work with your public and private repositories, and with repositories of GitHub organizations you belong to. You choose this in the GitHub window that opens when you connect (Authorize transjt.ai). It shows what transjt gets access to:

  • Personal user data: email addresses and profile information, read-only.
  • Repositories: public and private.
  • Organization access: grant access for each organization whose repositories you want to use.

Then click Authorize transjt. With private and organization access, all your repositories are listed together in transjt when you pick one.

GitHub Authorize transjt.ai window: transjt wants access to personal user data (email addresses and profile, read-only), public and private repositories, and organization access, with Cancel and Authorize transjt buttons
GitHub asks you to authorize transjt.ai, including private repositories and organization access.

Organization missing?

Many organizations only allow apps that an organization owner has approved (GitHub calls this "OAuth app access restrictions"). Until then, transjt only sees the organization's public repositories.

  • If you are a member: click Request next to the organization in the GitHub window, and ask an owner to approve it.
  • If you are an owner: in GitHub, open the organization's Settings > Third-party Access > OAuth app policy, click Review next to transjt.ai and then Grant access.

More in GitHub's guide Approving OAuth apps for your organization.

Missed the right access?

If you connected without the access you need:

  1. In GitHub, open Settings > Applications and remove transjt.ai.
  2. In transjt, connect GitHub again, and grant the access you need in the GitHub window.

Import your code

After you pick the repository and branch, transjt imports the code and builds the frontend of your project. You can then preview every page and export it.

Tip. For the cleanest result, your code should be React with Vite, without Next.js and server-side rendering. See Supported AI builders.

Several GitHub accounts

You can connect more than one GitHub account, for example your own and a client's. Each one appears as a separate line under Settings > Integrations. When you create a project, choose the account that has access to the repository.

Settings, Integrations in transjt: Add CMS and Add Repository, and a list of connected HubSpot, WordPress and GitHub accounts, each with the connection status O.K., the creation date and a bin icon
Settings > Integrations: all connected accounts with their status. The bin icon removes a connection.

Link the account to a project

The GitHub account is linked to a project in the Import step, right after you choose GitHub as the source:

  1. Pick a connected account from the list, or click Connect GitHub to add a new one.
  2. Select the repository and the branch.
  3. Click Proceed.

When you come back to the Import step later, you can re-sync the same repository to bring in your latest code, or pick another repository.

The Import step of a GitHub project: Re-sync this repository or pick another one, with Connect GitHub, the account, repository and branch lists, and the Proceed button
The Import step: pick the account, repository and branch, or click Connect GitHub to add an account.

Remove a connection

In Settings > Integrations, click the bin icon next to the GitHub account. Your projects stay as they are, but a project that used this connection is no longer linked. To use GitHub for it again, connect GitHub again.

Copied repository contents. Removing the connection stops transjt from reading your repositories, but does not delete code that was already imported. To have it deleted, write to support@transjt.ai. It is deleted within 30 days.