Ah, yet another salt marsh plant! This dicot is a native to the majority of the US and several Canadian provinces. This heliotrope can handle saline and wet communities and is found around salt marshes and margins of wetlands within the interior. It flowers for quite awhile from spring to early fall, preferring mostly full sun.
I can’t find a lot about the wildlife value of the plant but I imagine it attracts butterflies. It could be difficult to find in nurseries if you are trying to use it as a garden plant, so maybe starting from seed from a plant in a natural habitat might be the way to go if you are looking to diversify your native plant habitat in the garden.