Quick Git Setup

Fast track Git setup for Saturn Cloud resources

Quick Git Setup for Saturn Cloud

This guide helps you set up Git integration quickly so you can attach repositories to your resources during creation.

1. Set Up SSH Keys (One-Time Setup)

  1. Go to User ProfileAccess Keys in the sidebar
Git SSH Key setup in sidebar
  1. Find the Git SSH Key section and click the New Private Key button.
Git SSH Key section
  1. In the key creation window, choose your preference for Value:
    • Saturn Cloud Generated Key: Let Saturn Cloud automatically generate a secure public/private key pair.
    • Upload Your Own Key: Paste your own existing private key into the text area.
  2. Click Submit to save the key.
Create SSH Key
  1. Copy the displayed public key and add it to your Git host (e.g., GitHub, GitLab, Bitbucket) to authorize access.
Copy Public SSH Key

2. Add Your Repository to Saturn Cloud

  1. Go to Git Repositories in the sidebar
Git Repositories in sidebar
  1. Click New Git Repository button
New Git Repository
  1. Enter your repository URL (the same URL you’d use for git clone)
  2. Click Submit
Add Git Repository

3. Attach to Your Resource

When creating a Jupyter Server or R Server from Workspaces, Deployments, or Jobs:

Resources in sidebar
  1. In the creation form, find the Details section after completing Instance Size and Resource Type sections.
  2. Scroll down to the Git repositories section and select your repository from the dropdown
  3. Click Create Resource
Git Repository Resource Creation

Your code will be automatically cloned when the resource starts!

Need Help?