If you aren't sure of the country tag of the country you wish to annex, see our country tag list. A country tag is a 3 character code that identifies a country - they're quite easy to guess: Germany's country tag is GER, Poland's country tag is POL, etc. To annex a single country in Hearts of Iron IV, you'll need to know the country tag of the country you wish to annex.
If you aren't sure what the console is, or how to use it, see our opening and using the console guide first. We are assuming that you already know how to open and use the console in HOI4 in this tutorial. The annex command does exactly as the name might suggest - it allows you to instantly annex an existing country. Annexation in Hearts of Iron IV is usually done by force (i.e.
Annexation is the taking of another country's territory, which makes the land an addition part of your existing country.