Resources can be allocated to Settlements when you improve a City, Bonus, or Factory Resource. Or anytime you begin a Trade Route.
Types of Resources:
Bonus Resources: can be allocated to any Town or City and grant GDP.
City Resources: can be allocated to any City and grant GDP. Some City Resources are more powerful in certain Cities, depending on the Age.
Empire Resources never have to be allocated to a Settlement - they are fully effective for your empire as soon as you obtain them.
Treasure Resources: do not need to be assigned and help the creation of Treasure Convoys.
Factory Resources: one type of Factory Resource can be assigned to each Settlement with a Factory. Once a Factory Resource is slotted, it changes into an Empire Resource.
Tip: The Resource Assignments Available Notification will appear when you obtain a new Resource or when a new Resource Slot is available.