You can place a flag if you are a "Captain" in an alliance by clicking on the "Alliance" option on the bottom right of the screen. You will find the current flag in front of you; once you click on it, you will get two options, "Alliance flag" and "Country flag." you can choose whichever you want or change the current one for 1000 gold.