After installing the forge component, just add the two blocks (CountryFlagAlpha2, CountryFlagAlpha3) and static entity FlagSize to you application.
Then is just a matter of passing in the inputs of the block the required info: CountryAlpha code (2 or 3 depeding on the block being used) and the flag size you pretend (s,m and l sizes).