You extract it from a DMT containing plant like mimosa hostilis root bark. The DMT already exists in the bark. You just have to use an acid/base extraction tek to break the DMT out of the plant. Check out these groups.
https://dmtworld.net/social/groups/49/