1. Get your project’s public key
- In the Console, open the project you want.
- Click Settings.
- Under Project settings, click Deploy key.
- Click Copy.

2. Add the key to your repository in your Git provider
If you’re only pulling code, the key doesn’t need write permissions. Now your Upsun project can access your private repository via SSH, including to add dependencies. This means you can access the private repository through links like:git@:/.git.
For example, you can clone a repository in your build hook:
You can also use private repositories as submodules.