How to manage DNS for non-production branch in Cloudflare Pages?

We have setup Cloudflare Pages, setup our custom domain. Domain works in production but not in staging.

How can we setup custom domain for staging which is a non-production branch?