How to limit SonarQube scope to certain branches?

We’re using SonarQube 9.2 and would like to limit the scanning only for a few branches. How/where do I specify the branches I’d like to scan?

This is normally handled in the CI tool you’re using to run analysis, where you choose what actions happen in the build based on what branch is being built.