See the documentation here for the first steps: https://docs.mendix.com/howto/security/set-up-your-first-multi-tenant-app
Note though the multi tenancy can be very tricky and that you most probably will make a mistake in the process.
Regards,
Ronald