Back to the BSR
Manuals / Billing & Subscription

Migrate to your new registry

Buf Pro gives individual developers complete control over their development environment through a private instance with a dedicated subdomain, providing an integrated and dependable developer experience. This reduces the amount of time spent on tedious and repetitive tasks, freeing up more time for developers to create value for their clients.

Our Pro tier gives organizations a private instance of the BSR with dedicated subdomain instead of the public instance at When moving to your private instance, you'll need to complete a few basic tasks.

Create Tokens

In order to access the BSR, you will need to provide login configuration details via the buf CLI.

buf registry login

Machine users will need to have tokens from the new instance generated, see authentication for details.

Copy Community Dependencies

Buf has made various modules available in the BSR for community use and regularly maintains them. These modules include the popular googleapis and protoc-gen-validate, which were added to support community development with the BSR. The availability of these modules in the BSR alleviates the need to download and locally manage these protos, especially those from googleapis/googleapis.

To copy dependencies to your registry, this can be done easily using buf and an admin token.

Begin by logging into your private registry.

buf registry login

Create an organization and a registry for the community module you'd like to create, in this example, we will create googleapis.

buf beta registry organization create
buf beta registry repository create --visibility public

Export the public repository and push it to your registry.

mkdir googleapis
cd googleapis
buf export
buf mod init
buf push

With this, you will successfully:

  1. Authenticate with your BSR instance.
  2. Create the org and repository.
  3. buf export copies protos from
  4. Use buf mod init to create a module in the directory with the protos you exported.
  5. Push the module you just created.

Rename & Push Modules

With your own dedicated instance of the Buf Schema Registry, all configured modules will need their name changed to reference your private subdomain.

  • Get a token from the BSR, see authentication for details
  • Login to your new instance
buf registry login
  • Rename all occurrences of in your buf.yaml with
  • Push all of your modules
buf push