You can generate one in the developer portal, see https://docs.mendix.com/developerportal/deploy/custom-domains/