In order to connect to your Google Tags Manager (GTM) account, you will need your GTM Container Id, which can be found on your GTM account:
On your layout, include GoogleTagManager_AddScriptHead and GoogleTagManager_AddNonScriptBody actions on the OnReady event:
These will include the snippets on the HTML to connect to GTM.