Summarize this article:

If the bees are on a large branch, gently shake the branch to get the bees to drop into the box. If the bees are clustered on small shrubs or flower stems, clip the vegetation and place it, with the bees, in the box. If the bees are swarming on a fence or wall, use a bee brush to sweep them into the box. Close the lid when you’ve got them inside. Be sure to keep your gloves, veil, and other protective gear on in case the bees get agitated! When the bees stop buzzing it means they’re eating the food you provided. Usually, when you open the box the bees will fly out immediately, but if they don’t, wait a few minutes for them to finish eating. The bees will likely be confused and fly in circles at first. Then, they’ll head straight for their colony. Leave the box open so the bees can return for more food. When the bees leave the box, they’ll head to their hive. Use a stopwatch to track how long it takes the bees to make it to their hive and back to the box. Bees generally travel less than a mile from their hive to look for food.  If the bees return in 3 minutes or less, the hive is likely less than 1⁄4 mile (0.40 km) away. If the bees return in 5-10 minutes, the hive is probably 1⁄2 mile (0.80 km) away. If the bees return in 10-20 minutes, the hive is up to 1 mile (1.6 km) away. Once the bees return for more food, you’ll know how far away their hive is. On their second or third trip, follow the bee line to the hive. Keep a close eye on the bees so you know which direction to travel. You may want to use a compass to ensure you are heading in the right direction. You can measure the distance with GPS, such as on your phone, if you’d like. Keep watching the bees to ensure they are traveling in the same direction you are. As you follow the bees, inspect each tree that you pass, looking for holes or cavities that could hold a hive. Some hives can be found in fallen logs or even on the ground, as well. Listen for buzzing to direct you to the right spot. If you lose track of the bees, return to the box and wait for a bee to feed on the nectar you provided. Then, try again to follow the bee to its hive.

Summary:
Capture a cluster of bees in the box. Release the bees when they stop buzzing. Mark how long it takes the bees to come back to the box. Follow the bee line to their hive. Look for their hive in a tree or other sheltered place.