How to tell the engine to use my derived UGameInstance class

I want to implement some stuff in a derived UGameInstance.
Is there a setting in a config ini file to point to my UMyGameInstance?
How will the engine know to use my new class?

class UMyGameInstance : public UGameInstance

In Project Settings, Maps and Modes, you set default classes there