Sourcegraph DocsSourcegraph Docs
  • Code Intelligence

    • Cody
    • Code Search
  • Code Management

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

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

    • Sourcegraph & Cody CLI
    • Sourcegraph GraphQL API
    • Sourcegraph Stream API
  • Pricing

    • Plans
    • Plan Comparison
    • FAQs
  • Help & Support

    • SLAs & Premium Support
    • How to videos
    • Tutorials
    • Sourcegraph Accounts
    • Changelog
    • Technical changelog
    • Releases
  1. Docs
  2. admin
  3. config

Configuring Sourcegraph

Supported on Enterprise plans.

Available via the Web app.

This page documents how to configure a Sourcegraph instance. For deployment configuration, please refer to the relevant deployment docs for your deployment type.

  • Site configuration
  • Global and user settings
  • Code host configuration (GitHub, GitLab, and the Nginx HTTP server.)
  • Search configuration
  • Configuring Authorization and Authentication
  • Batch Changes configuration

Common tasks

  • Add Git repositories from your code host
  • Add user authentication providers (SSO)
  • Configure search scopes
  • Integrate with Phabricator
  • Add organizations
  • Add teams (Experimental)
  • Set up HTTPS
  • Use a custom domain
  • Configure email sending / SMTP server
  • Update Sourcegraph
  • Using external services (PostgreSQL, Redis, S3/GCS)
  • PostgreSQL Config
  • Configuring webhooks
  • Configuring rate limits
  • Configuring command recording

Advanced tasks

  • Loading configuration via the file system
  • Restore postgres database from snapshot
  • Enabling database encryption for sensitive data
  • Configuring Sourcegraph in private networks
  • Restricting outgoing connections
Previous
Upgrade
Next
Licensing

On this page

  1. Configuring Sourcegraph

    1. Common tasks
    1. Advanced tasks

Edit this page on GitHub
Go to Sourcegraph.com
Questions? Give us feedback