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

# Import Code from Github

You can integrate existing code into Slai with our Github integration.

### Connect your Github account to Slai

First, you'll need to connect your Github to Slai. You can do that on the **Integrations** page.

### Importing a repo into a sandbox

After connecting your Github account to Slai, you can import repos directly into a sandbox.

Click the **+ Add File** icon in the files section, and select **Import from Github**. You can also enter the URL of any Github repo you have read access to.

![Add GitHub](https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/github/add-github.svg?fit=max\&auto=format\&n=0GTBstnyDK-8Z9OV\&q=85\&s=13f6c65bc6d4557f3f51912da96e4e8c)

You'll be prompted to select from a list of repos in your account.

![List of repos](https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/github/add-github-1.png?fit=max\&auto=format\&n=0GTBstnyDK-8Z9OV\&q=85\&s=09b03f5fa26e35a8ec16b9c5d7f24b2f)

### Using imported repos in your projects

After importing a repo, you'll see all the files in the repo added to the file tree.

![GitHub files](https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/github/github-files.png?fit=max\&auto=format\&n=0GTBstnyDK-8Z9OV\&q=85\&s=0b67fe1b0eb93669c29d1b4055798a53)

After importing your repo, you can reference any of the modules like any ordinary Python module.

![Using GitHub files](https://mintcdn.com/slai-docs/0GTBstnyDK-8Z9OV/img/integrations/github/using-github-files.png?fit=max\&auto=format\&n=0GTBstnyDK-8Z9OV\&q=85\&s=2e4a3427050987dfd6daa86eb8b5321a)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.