From google cloud to stape

Im about to buy the pro plan, but I want to know how to change the configuration of GTM from google cloud to .

You need to copy the container config from the GTM Server Settings page:

And then you can follow our guide how to setup GTM SS from step 4.

Also, don’t forget to delete the old server on GCP.

what’s the code I should use here ? I use the plugin of Thomas Geiger to connect GTM to my wordpress website.

In this case you can follow this article on how to add GTM SS WordPress plugin