The Bolt extension automatically adds the code snippets needed to run Tag Manager on your site.
To get it set up, create a Container ID on Google Tag Manager website, then add it extension config file. The extension will do the rest.
Snippets can be added to the frontend and/or backend using the configuration file.
Read more about setting up Tag Manager.