32 nations qualify for the world cup, divided into 4 "pots" based solely on their FIFA rankings (except for the host nation, Qatar, who are automatically in pot 1). So pot 1 would be the top 7 ranked nations + Qatar, pot 2 the next 8, pot 3 the next 8, pot 4 the last 8. When it's time to draw for groups, you get one team from each pot per group. So group A will contain 1 pot 1 team, 1 pot 2 team, 1 pot 3 team, and 1 pot 4 team. There are other rules that apply as well, like 2 teams from South American cant be in the same group. So some teams will have to be moved to a different group if drawn together.
Canada will be pot 4 unfortunately since they started the year with such a low FIFA ranking, meaning whatever group they go into will very likely be the "group of death". USA and Mexico will be in pot 2 assuming Portugal beat North Macedonia