Biofilms have complex interactions with their surrounding environment. To comprehensively investigate biofilm-environment interactions, we present here a series of methods to create heterogeneous chemical environment for biofilm development, to quantify local flow velocity, and to analyze mass transport in and around biofilm colonies.