The only way to qualify your pet as an official ESA is to qualify for a legitimate ESA letter from an ESA doctor (such as a psychologist) or licensed therapist (LMFT, LPC, etc.).
You may choose to carry a custom ESA license or certification for your personal convenience, but know that this is not legally required.