# Installing a private GitHub repo into a Tesseract

**URL:** <https://si-tesseract.discourse.group/t/installing-a-private-github-repo-into-a-tesseract/103>\
**Category:** Showcase\
**Created:** [July 21, 2025, 8:19pm UTC](https://si-tesseract.discourse.group/t/installing-a-private-github-repo-into-a-tesseract/103 "2025-07-21T20:19:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shruti.motiwale](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@shruti.motiwale](https://si-tesseract.discourse.group/u/shruti.motiwale)\
**Post date:** [July 21, 2025, 8:19pm UTC](https://si-tesseract.discourse.group/t/installing-a-private-github-repo-into-a-tesseract/103/1 "2025-07-21T20:19:09Z")

</div>

**Context**

Sometimes it might be necessary to install a private repo into a Tesseract; this can be done in two steps

1. Add the following line to `tesseract_requirements.txt`  
`git+ssh://git@github.com/username/repo.git@branch`
2. Use `tesseract build --forward-ssh-agent` to grant the builder access to your SSH keys

A key thing to note is the difference between the format of the url in step 1 and the one available on GitHub under the green code button - `git@github.com:pasteurlabs/tesseract-core`

 ![image](https://canada1.discourse-cdn.com/flex009/uploads/si_tesseract/original/1X/471f5b6274522eeacef1610470283a269f22ad89.png)

In order to use ssh in the format above, you would need to replace the `:` after `github.com` with a `/`, i.e. `git+ssh://git@github.com/pasteurlabs/tesseract-core`.
