How do You Make Your Own Mdma?

You would have to have access to chemicals you can’t purchase without a license to do so to be able to make your own mdma. The supplies are not available to the public.