How can I output a tag cloud arbitrarily to any place in the code?

I want to use tags in a limited number in a certain place of the template, in which it is impossible to include a block