Skip to main content
You can search, filter, import and clone collections from public and private repositories on GitHub directly from the app. You can also connect your GitHub account to use your personal access token or GitHub CLI to access private repositories.

Access and import public repositories

Public repositories on GitHub are searchable from Bruno without signing in.
  1. Open Import collection dialog box and go to the GitHub tab.
github-preview
  1. Search any public repository by name or keywords.
search-repo
  1. Select the repository you want to import and click on the Clone button.
Bruno by default clone repositories to the ~/Documents/bruno folder. You can change the location by clicking on the Browse button.
clone-collection
  1. Select the collections you want to import and click on the Open button.
select-repo
  1. You will see the collections you imported in the sidebar.
repo-listed-sidebar
After clone, Bruno scans the repo and lists Bruno collections found inside. Select one or more and click Open to add them to your workspace.

Private repositories and authentication

Authentication, searching and importing private repositories at organization and individual level is available in Bruno Pro and Ultimate editions.
Private repositories and organization-scoped search need GitHub to know who you are. Bruno supports:
  • Personal Access Token (PAT) (recommended)
  • GitHub CLI (gh) — sign in with the official GH CLI
After you connect:
  • You can import private repos and narrow search to your user and organizations you belong to (dropdown entries such as you, org).
  • You can scope search to an org (for example your-org) and see private repos (often shown with a lock icon in the list).

Use a PAT when you want predictable, documented access for Bruno on your machine.

1. Open Git provider settings

  1. Open Preferences settings from bottom left corner.
  2. Go to Git providers in the sidebar.
  3. Select GitHub and click on Configure button.
git-providers-preferences

2. Enable GitHub

  1. Turn Enabled on.
  2. Go to Personal Access Token and click on Generate a token on GitHub link.
If you already have a token, you can paste it in the Enter your GitHub personal access token field.
enable-pat

3. Create and paste the token

  1. Click on Generate a token on GitHub and sign in to GitHub.
git-auth
  1. Sign in to GitHub and create a token with the scopes your org requires (repo read for private repos, also follow your company policy for fine-grained vs classic tokens).
  2. Copy the token value, return to Bruno, paste it into Enter your GitHub personal access token.
  3. You should see a connected state (eg Connected as @your-username via Personal Access Token) with options to Refresh or Clear token when you need to rotate credentials.
pat-conncted
Advanced options are available to configure the enterprise GitHub API URL.

4. Import again from the GitHub tab

  1. Return to Import collectionGitHub.
  2. Use the scope dropdown to pick your user or an organization.
Private repositories should appear in search results; clone and select collections as in Access and import public repositories.
private-repo-access You can add multiple GitHub account (up to 5 users) to your workspace by entering GitHub username on the Add account input field.

GitHub CLI

You can authenticate with GitHub CLI if you prefer not to paste a PAT:
  1. In PreferencesGit providersGitHub, open the GitHub CLI tab.
git-cli
  1. Click on Install button to install GitHub CLI and authenticate with it in Bruno.
authenticate-cli
  1. You should see a connected state (eg Connected as @your-username via GitHub CLI) with options to Refresh or Clear token when you need to rotate credentials.
We still recommend a PAT for straightforward setup, rotation, and use in environments where the CLI is not installed.

GitHub Enterprise and custom API URL

For GitHub Enterprise Server (self-hosted) or a different API base than public GitHub, set the REST API URL Bruno uses for search and repo metadata.
  1. In PreferencesGit providersGitHub
  2. Expand Advanced.
  3. Replace the default https://api.github.com with your Enterprise API root. For GitHub Enterprise Server, the REST API is often at https://<your-hostname>/api/v3. Your administrator or About GitHub’s REST APIs for your Enterprise version documents the exact base URL.
  4. Connect with PAT or CLI as above.
After saving, org-scoped search and private repos on that host should resolve against your Enterprise instance instead of api.github.com.

Quick comparison

GoalWhat to use
Import a public repo by searchGitHub tab, scope All of GitHub, no login
Import private or org reposEnable GitHub under Git providers + PAT (recommended) or GitHub CLI
Enterprise GitHub hostSame + Advanced → set API URL to your server’s API base
Any Git URL without searchGit repository tab + paste URL