Plant agastache in full sun, with 6 or more hours of direct sun a day. Anise hyssop also grows in part shade. The garden hybrids tolerate only light shade.
Good drainage matters most for every kind. Wet soil in winter, in ground that drains poorly, can kill agastache. In heavy or poorly drained ground, plant in a raised bed or a container. Avoid rich or heavy soil; agastache prefers soil low in fertility.
Anise hyssop handles moist soil as long as water drains away. It grows 2 to 5 feet tall, so space plants 12 to 36 inches apart. It spreads by underground stems and seeds itself readily, so give it room. The garden hybrids want average, very well-drained soil and may not survive winter in clay that stays wet. They are usually hardy to zone 5 or 6; where winter survival is a concern, plant them in a sheltered, south-facing spot.
Plant in spring. Perennials that bloom late in the season, as agastache does, may settle in with less setback when planted in spring. Deer tend to avoid it.