Sourcegraph DocsSourcegraph Docs
  • Code Intelligence

    • Cody
    • Code Search
  • Code Management

    • Batch Changes
    • Code Monitoring
    • Code Ownership
    • Code Insights
    • Notebooks
  • Platform

    • Sourcegraph Admin
    • Sourcegraph Cloud
    • Integrations
  • CLI & API

    • Sourcegraph & Cody CLI
    • Sourcegraph GraphQL API
    • Sourcegraph Stream API
  • Help & Support

    • SLAs & Premium Support
    • How to videos
    • Tutorials
    • Sourcegraph Accounts
    • Changelog
    • Technical changelog
    • Releases
  1. Docs
  2. getting-started
  3. cloud-instance

Welcome to Sourcegraph

This is a compilation of the most important information you will need to get started.

Sync Code Hosts

Sourcegraph is nothing without your code, so connecting your code hosts is crucial.

How to connect to…

  • GitHub
  • GitLab
  • Bitbucket Cloud
  • Bitbucket Server / Bitbucket Data Center
  • Other Git code hosts (using a Git URL)
  • Non git hosts

Inviting users and SSO

A team is essential when using Sourcegraph. Be sure to spread the word and get everybody in.

Setting up SSO

Sourcegraph supports out-of-the-box support for different auth providers. Our documentation provides guidance on how to setup these.

  • User authentication (SSO) - Sourcegraph docs

You may not have the right privileges or role in your team to set this up. In that case, you could invite someone with the right privileges and make them a site-admin.

Inviting Single Users

Getting users into Sourcegraph is easy, you just need to navigate to:

Site Admin → Users and auth → Users → + Create user

Setup Email Server

By default the Sourcegraph instance cannot send emails. So features like password resets, email invites and email code monitors will not work.

  • Configure email sending / SMTP server

Learn Sourcegraph

Extra resources that we think are helpful:

  • Sourcegraph 101
  • Search Examples

Community and Support

Join our discord server. If you need support, reach to via support@sourcegraph.com.

On this page

  1. Welcome to Sourcegraph

    1. Sync Code Hosts
    1. Inviting users and SSO
    1. Setup Email Server
    1. Learn Sourcegraph
    1. Community and Support

Edit this page on GitHub
Questions? Give us feedback