> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorstax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Repository Cloning

> Connect and clone your GitHub and GitLab repositories

## Overview

TensorStax allows you to connect and clone repositories from GitHub and GitLab for seamless code management and deployment.

## Repository Integration

<img className="block dark:hidden" src="https://i.imgur.com/emcGZWK.gif" alt="Repository Integration Process" />

<img className="hidden dark:block" src="https://i.imgur.com/emcGZWK.gif" alt="Repository Integration Process" />

The process for connecting GitHub and GitLab repositories is identical. Follow these steps for either platform:

<AccordionGroup>
  <Accordion icon="gear" title="Navigate to Integrations">
    First, click on the **Integrations** tab at the top of the integrations page to swap from data connectors to other integrations.
  </Accordion>

  <Accordion icon="code-branch" title="Connect Your Platform">
    Click **Connect** under either the GitHub or GitLab section to begin the OAuth flow.

    <Note>
      You'll be redirected to your chosen platform (GitHub or GitLab) to authorize TensorStax access to your repositories.
    </Note>
  </Accordion>

  <Accordion icon="list-check" title="Select Repositories">
    During the OAuth flow, you'll be able to select which repositories you want TensorStax to be able to clone.

    <Tip>
      You can always modify repository access later in your platform's settings (GitHub or GitLab).
    </Tip>
  </Accordion>

  <Accordion icon="eye" title="View Connected Repositories">
    Once you complete the OAuth flow and return to TensorStax, refresh the page to see the repositories you selected.
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Setting up your dbt project" icon="database" href="/dbt-setup">
    Configure and manage your dbt transformations.
  </Card>

  <Card title="Setting up your Airflow project" icon="timeline" href="#">
    Create and orchestrate data workflows with Apache Airflow.
  </Card>

  <Card title="Setting up your SQL projects" icon="code" href="#">
    Develop and manage your SQL-based data projects.
  </Card>

  <Card title="Browse Schemas" icon="sitemap" href="#">
    Explore your database tables, views, and relationships.
  </Card>
</CardGroup>
