Initializes the Firestore client from the environment.