# How to Add SSH Key in Sourcetree

> To add an SSH key in Sourcetree, navigate to the Tools tab and select Create or Import SSH Keys from the drop-down menu. Next, select SSH as the key type and click Generate.

Canonical: https://livedemo.ai/tutorials/how-to-add-ssh-key-in-sourcetree/
Apps: Sourcetree
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2ee1d673bd5aa8e60f5c/preview?step=1

## Steps

1. Open your Sourcetree account and navigate to the 'Tools' tab.
2. From the drop-down menu, select 'Create or Import SSH Keys'.
3. Select 'SSH' as the type of key that you want to generate.
4. Click 'Generate'.
5. That's it! You've successfully added an SSH key in Sourcetree.
