Atomic force microscopy (AFM) has become a well-established technique for nanoscale imaging of samples in air and in liquid. Recent studies have shown that when operated in amplitude-modulation (tapping) mode, atomic or molecular-level resolution images can be achieved over a wide range of soft and hard samples in liquid. In these situations, small oscillation amplitudes (SAM-AFM) enhance the resolution by exploiting the solvated liquid at the surface of the sample. Although the technique has been successfully applied across fields as diverse as materials science, biology and biophysics and surface chemistry, obtaining high-resolution images in liquid can still remain challenging for novice users. This is partly due to the large number of variables to control and optimize such as the choice of cantilever, the sample preparation, and the correct manipulation of the imaging parameters. Here, we present a protocol for achieving high-resolution images of hard and soft samples in fluid using SAM-AFM on a commercial instrument. Our goal is to provide a step-by-step practical guide to achieving high-resolution images, including the cleaning and preparation of the apparatus and the sample, the choice of cantilever and optimization of the imaging parameters. For each step, we explain the scientific rationale behind our choices to facilitate the adaptation of the methodology to every user's specific system.